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


      
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to