Package: hugs
Version: 98.200503.08-4
Severity: normal

It crashes with
    let test x = test x + 1 in test 1
but does not with
    let test x = 1 + test x in test 1

The same applies for factorial calculation like:
crash: let fac x = fac (x - 1) * x in fac (-1)
stack overflow: let fac x = x * fac (x - 1) in fac (-1)

I'm using a stock debian 2.6.16 kernel, so I shouldn't have any unusual stack
size.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=cs_CZ.ISO-8859-2, LC_CTYPE=cs_CZ.ISO-8859-2 (charmap=ISO-8859-2)

Versions of packages hugs depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libncurses5                  5.5-3       Shared libraries for terminal hand
ii  libreadline5                 5.1-7       GNU readline and history libraries

hugs recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to