Hi all,
Can anyone explain the following problem I'm having?
I'm currently writing a game in Haskell. When I produce a plain old
executable (for local testing) it's about 23M. However, when I create a
static lib using the -staticlib flag it is 54M.
Why the discrepancy?
Sean
Hi,
When I look in the Haddock generated code at:
http://www.haskell.org/ghc/docs/latest/html/libraries/base/
Control.Monad.html#t%3AMonadPlus, I don't seem to find any reference to
the IO monad being an instance of the MonadPlus class.
But when I look at the source code in
libraries/mtl/Co
Hi Simon (and others),
I have managed to build package GHC *and* load it into GHCi. Initially
this did not work. When I loaded up ghci with the -package ghc flag I
was assaulted with the following error message.
GHCi runtime linker: fatal error: I found a duplicate definition for
symbol
_Out
Hi Simon (and others),
I've just managed to build package ghc and have managed to successfully
use it in a test program of mine. However, I can't seem to load it
into GHCi. The error I'm obtaining is:
GHCi runtime linker: fatal error: I found a duplicate definition for
symbol
_OutOfHeapHoo
Hi all,
I've been looking through the source code and the GHC commentary and I
still can't quite work out what LIE stands for. The Type Checking
section of the Commentary suggests "LIE (Local Instance Environment?)".
Could someone out there tell me what it does actually stand for?
Cheers,
Sean
Hi Simon,
> Hmm, yes good point. GHC compiles different binaries for profiled and
> non-profiled execution. Splice code that runs at compile time should
> presumably be non-profiled (though I'm sure someone will want to
> profile it too). So TH should link non-profiled libraries at compile
> ti
e a set of build scripts that would be even better.
I need to know things like paths to libraries, what utilities I should
have preinstalled and what versions of those, and what flags I should call
configure with. Also a build.mk would be handy.
Thanks in advance,
Sea
Would it be possible to write a function "showFun" such that one could
write a program
f x y = x +y -- say
main = putStrLn (show $(showFun f))
and the result of this program would be
"f"
I don't think it's possible at the moment because one can't reify
e
g program,
import Language.Haskell.THSyntax
main = putStrLn (show $(tup [lift 'a', lift 'b']))
it works just fine.
Also, is the template-haskell mailing list active?
Sean Seefried
___
Glasgow-haskell-users mailing list
Why is it that one can't reify top level function declarations? At the
moment it only seems that we can reify type declarations. No immediate
reason for this seems to spring to mind, but there may be one.
Thanks,
Sean
___
Glasgow-haskell-users maili
I've just download the latest version of GHC from the CVS archives and I
am having quite some difficulty building it on a linux machine (Debian
distro)
The configure script decided that my machine was a i386-unknown-linux.
Here is the output where the error occurs.
(about a page and a ha
trict?
Sean Seefried
School of ITEE
The University of Queensland
Ph: 3365 8301
Mob: 0416 338 636
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
I would like to print an unboxed value to the screen. But to use "show" on
a type it has to be boxed. How do I rebox an unboxed type? Sorry if the
answer to this is obvious - I have spent quite some time looking for the
solution.
Sean
___
Glasgow-has
Look what came up when I tried to make a cross compiler.
GHC configuration does not support differing host/target (i.e.,
cross-compiling)
Now what do I do? Can I make a cross compiler?
Sean Seefried
___
Glasgow-haskell-users mailing list
[EMAIL
pes. I
am not however familiar with what an "appropriate type annotation"
is.
Sean Seefried
please ignore
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
16 matches
Mail list logo