Multiple definitions does not result in an error

Ross Paterson ross at soi.city.ac.uk
Wed Aug 30 15:02:40 EDT 2006


On Wed, Aug 30, 2006 at 05:39:07PM +0100, Neil Mitchell wrote:
> The following code:
> 
> >f a = undefined
> >f :: a -> b
> >f a = undefined
> 
> Under Hugs May 2006 does not raise an error.
> I guess Hugs is wrong in this case.

Yes, function bindings are supposed to be contiguous.  Now fixed.



More information about the Hugs-Bugs mailing list