[Hugs] #96: redeclaration of function inside a class

Hugs trac at galois.com
Sun Dec 13 19:52:02 EST 2009


#96: redeclaration of function inside a class
-------------------------------+--------------------------------------------
 Reporter:  guest              |       Owner:  neil  
     Type:  defect             |      Status:  new   
 Priority:  major              |   Milestone:        
Component:  winhugs            |     Version:  200605
 Keywords:  redefine function  |  
-------------------------------+--------------------------------------------
 please do apologize if this bug has been reported before

 i've been doing my homework assignment on parsers and monads when i hit
 error "INTERNAL ERROR: pmcTerm", when combined these definitions:


 {{{
 return v xs= [(v, xs)]

 class Monad m where
         return  :: a-> m a
 }}}

 INTERNAL ERROR: pmcTerm

 the compiler said that i should report this problem so i'm doing so

-- 
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/96>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell


More information about the Hugs-Bugs mailing list