$ cat ../work/TyConExt.prg
data Pugh :: * ~> * ~> * where
Bar :: Pugh Int Char
deriving syntax(p) Pair(Pugh)
Loading it gets:
$ ./omega.exe ../work/TyConExt.prg
...
The name Pugh, in the syntax derivation Pair(Pugh),
is not amongst the declared constructors: Bar.
The name of the constructor should be in scope for extensions.
Original issue reported on code.google.com by ggr...@gmail.com on 26 Jan 2011 at 2:41
Original issue reported on code.google.com by
ggr...@gmail.com
on 26 Jan 2011 at 2:41