Custom Query (6534 matches)
Results (61 - 63 of 6534)
|#62||Fixed||div 0 0 give exception / endless loop||simonmar||snailtalk|
There is a problem with the div in ghc, to reproduce: start ghci and type div n 0 where n is any integer (so div 3 0 would work) on a linux box it gives a floating point exception while on a BSD 4.4 box it gives and endless loop using about 87 % of cpu. I have verified this on both the latest release (5.02.2) and 5.02.1.
|#63||None||problem with parsing (##)||nobody||nobody|
I'm using the following setup: > ghci-5.00.2 -fglasgow-exts > :l Test.hs where Test.hs contains just one line =============================== (#) = flip ($) =============================== This yields the following error =============================== Test.hs:1: parse error on input `)' =============================== From my understanding, -fglasgow-exts turns on an extension called 'unboxed tuples' and (# starts an unboxed tuple.
|#64||Fixed||gmp library missing from OS X dist||nobody||nobody|
I had the following problems with ghc-5.03-13032002-MacOSX: 1. The compiler expects the C compiler to be gcc, but OS X 10.1.3 calls it cc. Linking /usr/bin/gcc to /usr/bin/cc fixes this problem. 2. The gmp library is missing: % ghc-5.03 GHCTest.lhs /usr/bin/ld: can't locate file for: -lgmp This library does not seem to be part of the OS X Developer Tools, and is not in the GHC distribution. 3. Interactive mode does not work: % ghc-5.03 --interactive ghc-5.03: not built for interactive use Peter
Note: See TracQuery for help on using queries.