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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

GHC-2
#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
_______________________________________________
Hugs-Bugs mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/hugs-bugs