[Haskell-cafe] getting last char of String
mdsteele at alum.mit.edu
Fri Dec 31 21:44:36 CET 2010
Sounds like you're looking for `last', which is in the Prelude.
On Dec 31, 2010, at 3:39 PM, Aaron Gray wrote:
> Is there an easy Haskell function that gets the last Char of a
> [Char] or String ?
> Many thanks in advance,
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe