-staticlib flag for building standalone static libraries producing very large libraries

2015-03-07 Thread Sean Seefried
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

Haddock generated documentation for Control.Monad.Error

2005-05-04 Thread Sean Seefried
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

Loading package GHC in GHCi

2005-01-08 Thread Sean Seefried
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

Loading package ghc within GHCi

2004-12-19 Thread Sean Seefried
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

What does LIE stand for?

2004-08-18 Thread Sean Seefried
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

RE: [Template-haskell] Profiling with Template Haskell

2003-08-07 Thread Sean Seefried
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

Building on Mac OS X

2003-07-19 Thread Sean Seefried
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

Another question regarding Template Haskell

2003-01-12 Thread Sean Seefried
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

Why doesn't this Template Haskell program work?

2003-01-12 Thread Sean Seefried
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

Template Haskell reification

2003-01-05 Thread Sean Seefried
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

Problem with building GHC (CVS version)

2002-12-17 Thread Sean Seefried
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

Strictness of addition functions.

2002-03-14 Thread Sean Seefried
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

Converting between boxed and unboxed types

2002-03-12 Thread Sean Seefried
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

Cross compilers

2002-02-27 Thread Sean Seefried
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

A question about GHC-5.03

2002-02-13 Thread Sean Seefried
pes.  I am not however familiar with what an "appropriate type annotation" is. Sean Seefried

test

2002-02-11 Thread Sean Seefried
please ignore ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users