Crash; message says to report it, here it is.
|Reported by:||guest||Owned by:|
|Type of failure:||GHCi crash||Test Case:|
|Related Tickets:||Differential Rev(s):|
Description (last modified by igloo)
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)
Change History (5)
comment:2 Changed 3 years ago by simonmar
- difficulty set to Unknown
- Status changed from new to infoneeded
Note: See TracTickets for help on using tickets.