winhugs hates me :(

chris.danx chris.danx@ntlworld.com
Fri, 16 Aug 2002 01:04:23 +0100


Hi,

Just trying to get back into the swing of haskell again and typed

map (factorial) [1,2,3]

and winhugs crashed.  Why?  Was the program ill formed or resource hungry?


factorial :: Int -> Int
factorial x
   | (x <= 1)  = 1
   | otherwise = x * (factorial x - 1)

... and so does hugs! :(

the crash out after fact'ing the first element, the output is

[1,

then crash!

Is it me or hugs?  If it's hugs is this a known issue?

Running win2k pro sp2 on an amd xp, hugs dec 2001 release.  I will try 
an uninstall and reinstall of hugs just to be sure somethings not messed 
it up.


Chris

p.s. I consider this a bug, perhaps others would disagree.  On 2k when 
hugs is installed via msi, the shortcuts aren't installed into the all 
users programs folder, just the admins folder and they cannot simply be 
copied to the all users programs folder, they get hidden and messed up! 
  Is this intentional?  It's no big deal, just a little annoying (many 
apps do that :( )