Interesting. This is reproducible on my machine (OSX 10.7.5), with an older GHC:$ ghc --versionThe Glorious Glasgow Haskell Compilation System, version 7.6.3Check out this ticket https://ghc.haskell.org/trac/ghc/ticket/7655AlexOn 2014-10-17, at 11:46 AM, Erik Rantapaa wrote:_______________________________________________Running ghci under OSX I am seeing the following behavior:Prelude> 2^750000{... lots of digits...}Prelude> 2^760000Segmentation Fault: 11Prelude> 2^770000Bus Error: 10and I'm curious why this happens.More details:$ ghci --versionThe Glorious Glasgow Haskell Compilation System, version 7.8.3I'm using the 64-bit version of the Haskell Platform (x86_64-darwin-7.8.3).
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe