Hi,

I've been driving Hugs up the wall lately and had this

  INTERNAL ERROR: discrArity

pop up occationally, but never in reproducable way.  By chance, I
discovered that I could reproduce it faithfully by starting hugs with
a particular heapsize:

  23:14 ~/Hask/examples; hugs -h50000
  __   __ __  __  ____   ___      _________________________________________
  ||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 standard
  ||___|| ||__|| ||__||  __||     Copyright (c) 1994-1999
  ||---||         ___||           World Wide Web: http://haskell.org/hugs
  ||   ||                         Report bugs to: [EMAIL PROTECTED]
  ||   || Version: February 2000  _________________________________________

  Haskell 98 mode: Restart with command line option -98 to enable extensions

  Reading file "/users/thorn/.usr/share/hugs/lib/Prelude.hs":
  Compiling          
  INTERNAL ERROR: discrArity

  FATAL ERROR: Unable to load prelude

Nothing particular about my Hugs except that _all_ files were compiled
with optimization (-O2 I think) against the given advice.

  gcc version 2.95.2 19991024 (release)
  SunOS harald 5.6 Generic_105181-16 sun4u sparc

Hope it may be useful.

Best wishes,

  Tommy

Reply via email to