[Haskell-cafe] getting last char of String

Luke Palmer lrpalmer at gmail.com
Fri Dec 31 21:45:14 CET 2010


http://haskell.org/hoogle/?hoogle=[Char]+-%3E+Char

"last" looks conspicuous :-)

On Fri, Dec 31, 2010 at 1:39 PM, Aaron Gray <aaronngray.lists at gmail.com> wrote:
> Is there an easy Haskell function that gets the last Char of a [Char] or
> String ?
> Many thanks in advance,
> Aaron
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>



More information about the Haskell-Cafe mailing list