[Haskell-beginners] A "show" error

Brandon Allbery allbery.b at gmail.com
Sun Mar 11 20:42:29 CET 2012


On Sun, Mar 11, 2012 at 15:10, bahadýr altan <doaltan at yahoo.co.uk> wrote:

> ERROR - Cannot find "show" function for:
> *** Expression : f (Branch 12 (Branch 15 Empty Empty) (Branch 28 Empty
> Empty))
> *** Of type    : (Integer,Integer,Tree,Tree,Integer,Tree,Tree)
>

Hugs apparently doesn't have a Show instance for 7-tuples.

Note that Hugs is quite old and not very well supported at this point; you
should probably be using ghc / ghci instead.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120311/1d42d4ce/attachment.htm>


More information about the Beginners mailing list