Skip to content

Crash; message says to report it, here it is.

Prelude> :cd ~/Dropbox\\classes\\inf212W12\\haskell\\examples\\


Prelude> :load fact2.hs


[1 of 1] Compiling Main             ( fact2.hs, interpreted )
Ok, modules loaded: Main.


*Main> fact 42
ghc.exe: internal error: evacuate(static): strange closure type 36134
    (GHC version 7.0.4 for i386_unknown_mingw32)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

fact2.hs is this:

fact :: Int -> Int


fact n = if n == 0 then 1 else fact n * (n-1)
Edited by Ian Lynagh -
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information