Ticket #96 (new defect)

Opened 3 years ago

redeclaration of function inside a class

Reported by: guest Owned by: neil
Priority: major Milestone:
Component: winhugs Version: 200605
Keywords: redefine function Cc:

Description

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

Attachments

example.hs Download (65 bytes) - added by guest 3 years ago.
an example

Change History

Changed 3 years ago by guest

an example

Note: See TracTickets for help on using tickets.