[ ghc-Bugs-748108 ] Unable to build ghc 6.0 (linux with GCC cpp 3.3)

2003-06-04 Thread SourceForge.net
Bugs item #748108, was opened at 2003-06-03 11:23 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=748108group_id=8032 Category: Build System Group: 6.0 Status: Closed Resolution: Fixed Priority:

ghc --make and missing interface files

2003-06-04 Thread George Russell
Hello all, I have a file BinaryIO. This used to import a module HGetCharHack to work around an annoying problem with ghc5.04 which meant that hGetChar was blocking unexpectedly. However I see that this problem has now been fixed in ghc6 (ta very much, Simon) so I deleted the files

locating package.conf

2003-06-04 Thread Derek Elkins
After building GHC6.1 from CVS a few days old now, on Win2k with MinGW 3.2, I tested it in the build tree and it worked fine. After performing make install, the GHC completely stopped working because it couldn't find package.conf(.inplace). I eventually tracked it down to a self-described hack

[ ghc-Bugs-748490 ] -odir bug

2003-06-04 Thread SourceForge.net
Bugs item #748490, was opened at 2003-06-03 15:16 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=748490group_id=8032 Category: Compiler Group: 6.0 Status: Open Resolution: None

Re: ANNOUNCE: GreenCard 3.00 (alpha release)

2003-06-04 Thread Jens Petersen
20030603()0459 Alastair Reid : On Monday 02 June 2003 7:20 pm, Alastair Reid wrote: In preparation for a major release of Green Card, we are making an alpha release for GHC folk to play with. Thanks! I made an rpm package of it with ghc-6.0 built for Red Hat Linux 9:

RE: ghc --make and missing interface files

2003-06-04 Thread Simon Marlow
Hello all, I have a file BinaryIO. This used to import a module HGetCharHack to work around an annoying problem with ghc5.04 which meant that hGetChar was blocking unexpectedly. However I see that this problem has now been fixed in ghc6 (ta very much, Simon) so I deleted the files

Re: ANNOUNCE: GreenCard 3.00 (alpha release)

2003-06-04 Thread Jens Petersen
20030604()1733 Jens Petersen : Thanks! I made an rpm package of it with ghc-6.0 built for Red Hat Linux 9: http://haskell.org/~petersen/rpms/greencard/greencard-3.00-1.src.rpm http://haskell.org/~petersen/rpms/greencard/greencard-ghc6.0-3.00-1.rhl9.i386.rpm Sorry, I renamed the packages

RE: GHC 6.0 Release: sparc-solaris2 binaries

2003-06-04 Thread Hal Daume III
Simon, Sorry about the confusion here...the one you uploaded I don't think was entirely fixed (this is my first time building a binary distribution -- I promise next time it will be much smoother). Please re-sync with: http://www.isi.edu/~hdaume/ghc-6.0-sparc-solaris2.tar.bz2 This should not

RE: GHC 6.0 Release: sparc-solaris2 binaries

2003-06-04 Thread Simon Marlow
Sorry about the confusion here...the one you uploaded I don't think was entirely fixed (this is my first time building a binary distribution -- I promise next time it will be much smoother). Please re-sync with: http://www.isi.edu/~hdaume/ghc-6.0-sparc-solaris2.tar.bz2 This

RE: GHC 6.0 Release: sparc-solaris2 binaries

2003-06-04 Thread Matt Fairtlough
I am having trouble installing the package in a non-standard place. After downloading and unpacking I did: ./configure --prefix=/home/matt creating cache ./config.cache checking host system type... sparc-sun-solaris2.9 ... usual reports, not relevant to problem reported I think ... updating

Re: GHC 6.0 Release: sparc-solaris2 binaries

2003-06-04 Thread Volker Stolz
In local.glasgow-haskell-users, you wrote: I am having trouble installing the package in a non-standard place. After downloading and unpacking I did: There have been some fixes to this particular package. Please check if there's a more recent package (t 1 day)! Volker --

Re: GHC 6.0 Release: sparc-solaris2 binaries

2003-06-04 Thread Hal Daume III
I don't think this is the problem, though, as none of the path issues he mentioned contained the ill-mannered hdaume in them :). Perhaps SimonM can comment more on this... -- Hal Daume III | [EMAIL PROTECTED] Arrest this man, he talks in maths. |

Re: GHC 6.0 Release: sparc-solaris2 binaries

2003-06-04 Thread Matt Fairtlough
X-Authentication-Warning: moussor.isi.edu: hdaume owned process doing -bs Date: Tue, 3 Jun 2003 09:26:32 -0700 (PDT) From: Hal Daume III [EMAIL PROTECTED] To: Volker Stolz [EMAIL PROTECTED] cc: Matt Fairtlough [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: GHC 6.0 Release: sparc-solaris2

GHC 6.0 for Mac OS X

2003-06-04 Thread Wolfgang Thaller
I've now uploaded a binary package for Mac OS X (Apple Installer .pkg inside a .dmg) at http://www.uni-graz.at/imawww/haskell/GHC.6.0.dmg Enjoy! Cheers, Wolfgang ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED]

Please help me

2003-06-04 Thread David Savimbi
From: David Jonas Savimbi Johannesburg, South Africa Email: [EMAIL PROTECTED] June 3rd, 2003. Dear Sir, It is my humble pleasure to write you this letter irrespective of the fact that you do not know me. However, I got your name through your country business directory here in my search for a

Please help me

2003-06-04 Thread David Savimbi
From: David Jonas Savimbi Johannesburg, South Africa Email: [EMAIL PROTECTED] June 3rd, 2003. Dear Sir, It is my humble pleasure to write you this letter irrespective of the fact that you do not know me. However, I got your name through your country business directory here in my search for a

RE: GHC 6.0 Release: sparc-solaris2 binaries

2003-06-04 Thread Simon Marlow
Hal - how did you build this distribution? Did you set 'BIN_DIST=1' in build.mk before building everything? Cheers, Simon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hal Daume III Sent: 03 June 2003 17:27 To: Volker Stolz Cc: Matt

RE: GHC 6.0 for Mac OS X

2003-06-04 Thread Simon Marlow
I've now uploaded a binary package for Mac OS X (Apple Installer .pkg inside a .dmg) at http://www.uni-graz.at/imawww/haskell/GHC.6.0.dmg Now available from the GHC 6.0 download page. Thanks Wolfgang! Cheers, Simon ___

Re: long constant list of pairs (was Re: Ways and Build Tags for Optimisation)

2003-06-04 Thread Christian Maeder
We had very long compilation times when optimization or profiling was switched on, for a [(String, Int)] list with about 5000 entries. We worked around the problem by changing the list into a String (escaping doublequotes) and using read to convert it to a list. The big string, however, does

Re: Safe and sound STRef

2003-06-04 Thread oleg
Heaps should be more dynamic than this; the (type of the) *reference* should encode the type it points to, but the (type of the) *heap* should not. However, the heap can store polymorphic values. Therefore, we can use a heap to store the polymorphic heap... Your example, slightly re-written

Re: labelled fields

2003-06-04 Thread Steffen Mazanek
Ok, I had missed something: I can write instead: data Type = TCon String (Maybe String) ... and declare a function lmtc lmtc (TCon _ x) = x ... But why not allow syntactic sugar? Sorry, Steffen -- Steffen Mazanek - www.steffen-mazanek.de - GPG: 791F DCB3 Haskell, that's where I just

Re: labelled fields

2003-06-04 Thread Hal Daume III
...it's also not the same...for instance, in this new version you cannot say: foo = bar { thing = Nothing } which you could say given: data Foo = Foo String { thing :: Maybe String } I'd guess that this is disallowed just for consistency. I think it would just be too many rules to keep

Re: Implementing RefMonads in Haskell without ST,IO

2003-06-04 Thread Ashley Yakeley
In article [EMAIL PROTECTED], Tim Sweeney [EMAIL PROTECTED] wrote: class Monad m = RefMonad m r | m - r where newRef :: a - m (r a) readRef :: r a - m a writeRef :: r a - a - m () Is it possible to actually implement a working instance of RefMonad in Haskell, without making

forall quantifier

2003-06-04 Thread Ketil Z. Malde
Hi, This is one of those topics everybody else seems to be familiar with, but which I don't quite understand, and can't seem to find any good information about. I have a function declared as: anova2 :: (Fractional c, Ord b) = [a-b] - (a-c) - [a] - [Anova1 c] where the first

Haddock module description

2003-06-04 Thread Graham Klyne
The Haddock document [1] section 3.3 gives a very simple specification for the module description, but the accompanying examples [2][3] suggest that certain common layout in the module description is picked up and formatted specially. Is there a description of this? (I'm starting to put

Multiparameter class confusion

2003-06-04 Thread Graham Klyne
There is a recurring difficulty I'm having using multiparameter classes. Most recently, I have a class Rule: [[ class (Expression ex, Eq (rl ex)) = Rule rl ex where ... ]] Which I wish to instantiate for a type GraphClosure via something like: [[ instance (Label lb, LDGraph lg lb) = Expression

RE: forall quantifier

2003-06-04 Thread Markus . Schnell
Now, obviously, the problem is that fst and snd, being passed in a list, needs to be of the same type; this complicates classifying a list of type [(Int,Bool)], for instance¹. I have a similar problem. Say I have a record: data Rec = Rec { a :: Int, b :: Type1, c :: Type2, d :: Type3, ... }

FFI Help

2003-06-04 Thread Matthew Donadio
Hi all, I am just starting to experiment with FFI, and am running into a problem. I was to create an FFI to the lgamma(3) found in many of the newer libm implementations. My code follows the sig. The lgamma function works. The gamma function core dumps (I am using ghc 5.04.3) on me. gdb

Please help me

2003-06-04 Thread David Savimbi
From: David Jonas Savimbi Johannesburg, South Africa Email: [EMAIL PROTECTED] June 3rd, 2003. Dear Sir, It is my humble pleasure to write you this letter irrespective of the fact that you do not know me. However, I got your name through your country business directory here in my search for a

Re: FFI Help

2003-06-04 Thread Glynn Clements
Matthew Donadio wrote: I am just starting to experiment with FFI, and am running into a problem. I was to create an FFI to the lgamma(3) found in many of the newer libm implementations. My code follows the sig. The lgamma function works. The gamma function core dumps (I am using ghc

Re: FFI Help

2003-06-04 Thread Malcolm Wallace
foreign import ccall math.h signgam signgamC :: IO Int signgam is an int variable, but this assumes that it is a function of type int signgam(void). Write a C wrapper int get_signgam(void) { return signgam; } and import that. Or alternatively, foreign import the address of the int and

RE: Help: writing ffi bindings to a C library

2003-06-04 Thread Bayley, Alistair
Thanks. This is very helpful. I'm making much better progress now. Is alloca the idiomatic technique when you want to create a pointer to a pointer? Or are there other ways? Initially I tried to pass a Ptr (Ptr SomeType), but I couldn't because Ptr has no constructors To create values of type