Hello all,

I have a syntax issue (hopefully!)

-- this is perfectly fine:
data Unary = forall a. Unary a

-- this one as well:
data Binary = forall a. Binary a a

-- but not this one
-- parse error on input forall :(
data Binary' = forall a. forall b. Binary' a b

I tried different kinds of bracketings and orderings but no luck...


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

Reply via email to