Building dlls with ghc

2001-11-30 Thread Ronald Legere
Dear haskellers, I have been trying to build a dll that has haskell functions in it, but it doesnt seem to be working in the latest 5.02.1 windows installer version. First, ghc --mk-dll .. Doesnt do anything since it cannot find dllwrap, which doesnt come with the windows installer.

Re: FORTRAN and HASKELL

2001-11-30 Thread Sigbjorn Finne
Hi, you don't say what platform this is on (or what Fortran compiler you're using). But, on Win32 platforms, many compilers use a calling convention which is identical to the 'stdcall' calling convention, so attributing your 'foreign import' declarations with stdcall should get you there. At

RE: Confused about Random

2001-11-30 Thread Simon Peyton-Jones
Yes, the implementation of instance Random Int in GHC's library pre-dates the existence of the genRange class operation for RandomGen. GHC's implementation of the instance behaves extremely badly when given a random generator with only two values (as in your example). I would love

Haskell 98 prelude bug report

2001-11-30 Thread Olaf Chitil
The prelude contains instance Bounded Char where minBound= '\0' maxBound= '\x' I didn't follow all the discussion about unicode, but the maxBound seems to be wrong. It probably should be '\x10'. The exact specification could also be avoided by

bug in report? empty datatypes

2001-11-30 Thread Hal Daume III
we can now say: data T for an empty datatype what about: data T deriving (Show) -- or Eq, Ord, ... personally I think this should be legal. the actual semantics are irrelevant, as far as I can tell, since you won't ever have something of type T other than _|_ and so you could simply

ESSLLI 2002 Student Session

2001-11-30 Thread Malvina Nissim
!!! Concerns all students in Logic, Linguistics and Computer Science !!! !!! Please circulate and post among students !!! We apologise if you receive this message more than once. ESSLLI-2002 STUDENT SESSION FIRST CALL FOR PAPERS