[Haskell-cafe] parse error on input `&'

siso dagbovie kisiso10 at yahoo.fr
Sat Apr 25 13:29:30 EDT 2009


Hi,

I've defined the following datatype with haskell

data Graph a b = Empty | Context a b & Graph a b

But I am having the error message: " parse error on input `&'  ".
I am wondering what it is wrong with my definition. How can I fix this?
Thanks in advance.


Kind regards


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090425/1c1e1be4/attachment.htm


More information about the Haskell-Cafe mailing list