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.
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
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
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
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
!!! 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