[Haskell-beginners] Show a function?

Costello, Roger L. costello at mitre.org
Fri Nov 11 00:18:17 CET 2011


Hi Folks,

Consider this function:

      true = (\x y -> x)

When I type this at WinGHCi:

    true

I would like WinGHCi to show this string:

   TRUE

Is there a way to "show" a function?

/Roger



More information about the Beginners mailing list