[Haskell] logic problem
Wolfgang Jeltsch
wolfgang at jeltsch.net
Wed Oct 26 05:52:45 EDT 2005
Am Mittwoch, 26. Oktober 2005 02:36 schrieb michael at schmong.org:
> In that case I get an "illegal instruction" error and hugs exits.
This is a bug in Hugs but your code is incorrect, too. You get into infinite
recursion for some argument values and I suppose, Hugs doesn't handle
infinite recursions well. At least, Hugs sometimes dies with a segementation
fault on Linux when it actually should cancel the computation cleanly because
of a stack/heap overflow caused by infinite recursion.
> [...]
Best wishes,
Wolfgang
More information about the Haskell
mailing list