[Hugs] #95: local fixity declarations cause static errors
#95: local fixity declarations cause static errors ---------------------------------+------------------------------------------ Reporter: guest | Owner: nobody Type: defect | Status: new Priority: major | Milestone: Component: hugs | Version: 200609 Keywords: fixity declarations | ---------------------------------+------------------------------------------ Declarations such as {{{ newExp (*) a c n = let infixl 7 * in a ^ n * c }}} work well with GHC but Hugs complains that "*" is not defined. The Report is not explicit about this, at least I couldn't find such case discussed there. But as a fixity change for an operator introduced as a formal parameter is perfectly reasonable and safe, I think that this should be legal. Härmel Nestra (harmel.nestra@ut.ee) -- Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/95> Hugs <http://www.haskell.org/hugs/> Hugs 98, an interpreter for Haskell
participants (1)
-
Hugs