[Haskell-cafe] Re: Int->[Char] conversion

ivan gomez rodriguez kguento at gmail.com
Wed Aug 16 12:07:36 EDT 2006


Neil Mitchell wrote:
> Hi,
>
>> You could try Hoogle <URL: http://haskell.org/hoogle/ >,
>> though entering Int -> [Char] isn't very helpful,
>
> A known "issue", Hoogle 4 will know about [Char] = String, and will
> also be tweaked to give show first in this instance.
>
> Thanks
>
> Neil
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
You can use show :: (Show a) => a -> String


More information about the Haskell-Cafe mailing list