[Hugs-users] Pattern match failure leads to lots of output

Ross Paterson ross at soi.city.ac.uk
Fri Sep 1 20:13:42 EDT 2006

On Sat, Sep 02, 2006 at 12:44:31AM +0100, Neil Mitchell wrote:
> >How odd.  That's what I get with Mar 2005, May 2006 and my build from last
> >week.  The difference will be hidden if we stop printing dictionaries,
> >but it is a bit disconcerting.
> Here are my settings:
> Current settings: +quAR -stgl.QwkoOITH -h1000000 -p"%s> " -r$$ -c40
> Search path     : -P.;..;{Hugs}\packages\*
> Source suffixes : -S.hs;.lhs
> Editor setting  : -E"C:\\Program Files\\TextPad
> 4\\System\\DDEOPN32.EXE TextPad %s(%d)"
> Compatibility   : Hugs Extensions (-98)
> Perhaps one of these is the cause?

Yes, with -98 I get infinite (presumably cyclic) dictionaries too.
With the patch, I get

	pattern match failure: g_v1624 (Just2 (Just1 (fromInt 1))) Nothing2

More information about the Hugs-Users mailing list