Not a bug; just a hiccup

2000-02-07 Thread Eric Schweitz
This is probably a well-known problem, but here goes anyway... In using the binary distribution of ghc (version 4.04, patchlevel 0) for the HP (HP-UX B.10.20), I get a warning during final link of /usr/bin/ld: (Warning) At least one of the files

parse error in Random library

2000-02-07 Thread Nick Eby
sorry for the reposting, but i didn't receive a reply to this the first time (likely my fault)... In trying to compile the hugs98 Random.hs library into an object file i got a parse error on a line that reads primitive getRandomSeed :: IO Integer A professor and i conjectured that ghc has a

RE: Quicker compilation for GHC users running x86-Linux

2000-02-07 Thread Julian Seward (Intl Vendor)
When I have an -fasm-x86 and an -fvia-C in the command line, which one is supposed to take precedence? Shouldn't (at the moment) -fvia-C always take precedence, because it can't hurt to compile via C? I agree -fvia-C should take precedence. I'm not sure what happens at the moment --

ghc rpms

2000-02-07 Thread Manuel M. T. Chakravarty
Due to a relocation of our server machines, the ftp area where I put up the rpms for GHC 4.06 seems to be temporarily inaccessible. As a backup, I placed a copy of the files at http://www.cse.unsw.edu.au/~chak/jibunmaki/src/ghc-4.06-1.src.rpm

interfacing to .sgf files

2000-02-07 Thread Johannes Waldmann
i'm looking for Haskell code to read/handle/write .sgf files/game trees (= smart game format, http://www.red-bean.com/sgf/user_guide/index.html) -- -- Johannes Waldmann http://www.informatik.uni-leipzig.de/~joe/ -- -- [EMAIL PROTECTED] -- phone/fax (+49) 341 9732 204/209 --

Re: interfacing to .sgf files

2000-02-07 Thread reig
i'm looking for Haskell code to read/handle/write .sgf files/game trees (= smart game format, http://www.red-bean.com/sgf/user_guide/index.html) -- -- Johannes Waldmann http://www.informatik.uni-leipzig.de/~joe/ -- -- [EMAIL PROTECTED] -- phone/fax (+49) 341 9732 204/209 -- Hi,

Invitation to IFL2000

2000-02-07 Thread Olaf Chitil
This is the first invitation and call for contributions to the 12th INTERNATIONAL WORKSHOP on the IMPLEMENTATION of FUNCTIONAL LANGUAGES (IFL2000)

Re: overlapping instances

2000-02-07 Thread Jeffrey R. Lewis
Marcin 'Qrczak' Kowalczyk wrote: Sun, 06 Feb 2000 23:21:38 -0800, Jeffrey R. Lewis [EMAIL PROTECTED] pisze: If context reduction choses a more generic instance when a more specific one exists, then I consider that a bug. http://research.microsoft.com/users/simonpj/Papers/multi.ps.gz

Re: rounding in haskell

2000-02-07 Thread Lennart Augustsson
Julian Assange wrote: The precission and or rounding used by hugs/ghc seems strange, to wit: Prelude sin(pi) -8.74228e-08 Prelude pi 3.14159 sin(3.14159265358979323846) -8.74228e-08 ghc: module Main where main = do print pi print (sin pi) ./a.out

random number seeds

2000-02-07 Thread Nick Eby
Is there a straightforward way to access the current system time in haskell, in order to give a seed to a random number generator without explicitly asking the user for one? --- nick eby [EMAIL PROTECTED]

Re: random number seeds

2000-02-07 Thread Michael Hobbs
I believe that there is a nanosecond value in one of the data types specified in the Time module. (One of the Haskell 98 libraries) I don't know if Hugs supports that module, though. I know GHC does. Nick Eby wrote: Is there a straightforward way to access the current system time in haskell,

rounding in haskell

2000-02-07 Thread Julian Assange
The precission and or rounding used by hugs/ghc seems strange, to wit: Prelude sin(pi) -8.74228e-08 Prelude pi 3.14159 sin(3.14159265358979323846) -8.74228e-08 ghc: module Main where main = do print pi print (sin pi) ./a.out 3.141592653589793 1.2246467991473532e-16 While

Re: overlapping instances

2000-02-07 Thread Carl R. Witty
"Jeffrey R. Lewis" [EMAIL PROTECTED] writes: Marcin 'Qrczak' Kowalczyk wrote: Parts of context reduction must be deferred, contexts must be left more complex, which as I understand leads to worse code - only to make overlapping instances behave consistently, even where they are not

Re: rounding in haskell

2000-02-07 Thread Julian Assange
Lennart Augustsson [EMAIL PROTECTED] writes: Haskell performs no worse or better than C. Your comment about how math libraries round might be accurate for some languages, but for C it's pure nonsense. It seems that you are right in this instance. However I recall seeing comments about error

Re: More on randoms

2000-02-07 Thread Matt Harden
So this is really an appeal for code contributions from people who know the subject intimately. nhc98 has the same primitive FFI as Hugs/ghc, so in theory, one good implementation in a mixture of C + Haskell should work for all systems. If you have written one, please make it available! I