Ashley Yakeley wrote:
You seem to have lost the underscores :-)In article <[EMAIL PROTECTED]>, David Menendez <[EMAIL PROTECTED]> wrote: It can be written without underscores as: data Vec0 a = Nil data VecS v a = Cons a (v a) type Vec1 = VecS Vec0 type Vec2 = VecS Vec1 All the best, Daan Leijen Btw. David: nice example of useful GADT use! |
_______________________________________________ Haskell mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell
