Hi!

I'm playing around with the Html backend of Haddock 2.0, trying to
implement more rendering. Of course, I'm trying to use as much of the GHC
API as possible to aid me.

I want to use OccName.isSymOcc to test wether a type constructor is an
operator or not. But it seems to assume that type operators are always
consyms. I'm wondering if this is a bug, since GHC accepts the following
code:

newtype Flip (~>) b a = Flip { unFlip :: a ~> b }

/David


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to