[Haskell-cafe] x -> String

David Virebayre dav.vire+haskell at gmail.com
Fri Oct 16 14:22:00 EDT 2009

On Fri, Oct 16, 2009 at 8:19 PM, Andrew Coppin
<andrewcoppin at btinternet.com> wrote:
> Is there any way that you can turn an arbitrary Haskell value into a string?

> I rephrase: There *is* a way to turn arbitrary values into strings. I know
> there is, because the GHCi debugger *does* it. The question is, does anybody
> know of an /easy/ way to do this?

Ghci only displays values with a Show instance.

More information about the Haskell-Cafe mailing list