Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Haskell, WTF?!

Name: Anonymous 2013-04-23 19:01


$ ghci
GHCi, version 6.10.4: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Prelude> sin 3.141592
6.535897930762419e-7
Prelude> sin 7
0.6569865987187891
Prelude> sin 123
-Segmentation fault: 11
$

Name: Anonymous 2013-04-23 19:45

$ ghci
GHCi, version 7.4.2: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
ghci> sin 3.141592
6.535897930762378e-7
ghci> sin 7
0.6569865987187891
ghci> sin 123
-0.45990349068959124
ghci> :q
Leaving GHCi.
$


try reinstalling the haskell platform
http://www.haskell.org/platform/
http://stackoverflow.com/questions/6884478/everywhere-that-ghc-haskell-platform-installs

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List