RE: (Deriving) instances in .hi-boot not possible

2003-03-11 Thread Simon Peyton-Jones
Yes, please do so; thank you. It's very very dodgy to do so, so even if it's not rejected, it probably should be. Simon | -Original Message- | From: Volker Stolz [mailto:[EMAIL PROTECTED] | Sent: 10 March 2003 14:40 | To: [EMAIL PROTECTED] | Subject: (Deriving) instances in .hi-boot not

CVS server down?

2003-03-11 Thread Kirsten Chevalier
I can't seem to connect to the cvs server: $ cvs up cvs [update aborted]: unrecognized auth response from glass.cse.ogi.edu: cvs: error in loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory -- Kirsten Chevalier * [EMAIL PROTECTED] * Often in error,

RE: 5.04.2 RPM Dependencies

2003-03-11 Thread Simon Marlow
On 2003-03-10 at 20:57GMT Dominic Steinitz wrote: Can anyone help? I downloaded the latest rpm for ghc but got the following errors on installation: error: failed dependencies: libc.so.6(GLIBC_2.3) is needed by ghc-5.04.2-1 libreadline.so.4 is needed by ghc-5.04.2-1 I

ANNOUNCE: GHC vesrion 5.04.3 released

2003-03-11 Thread Simon Marlow
== The (Interactive) Glasgow Haskell Compiler -- version 5.04.3 == We are pleased to announce a new patchlevel release of the Glasgow Haskell Compiler (GHC), version

Re: ANNOUNCE: GHC vesrion 5.04.3 released

2003-03-11 Thread C.Reinke
== The (Interactive) Glasgow Haskell Compiler -- version 5.04.3 == We are pleased to announce a new patchlevel release of the Glasgow Haskell Compiler (GHC),

fun with sockets (ghc-5.04.1)

2003-03-11 Thread Peter Thiemann
Hi, I'm running into a problem using server code (running on a UNIX domain socket) that I basically snatched from Simon Marlow's web server: ++ mainLoop sock defUser getMs = do putStrLn Accepting connections...

RE: ANNOUNCE: GHC vesrion 5.04.3 released

2003-03-11 Thread Simon Marlow
Actually, I find it difficult to extract the sometimes drastic differences between releases from that document (just one example: does this release include last week's bugfixes in the Network module?). How do I find out about the various bugfixes between releases, to decide whether or not to

Re: 5.04.2 RPM Dependencies

2003-03-11 Thread Dominic Steinitz
I tried the RPM for 7.2 and it seemed to work with --force and --nodeps (it asked for libreadline.so.4 which was already there). Dominic Steinitz - Original Message - From: Simon Marlow [EMAIL PROTECTED] To: Jon Fairbairn [EMAIL PROTECTED]; Dominic Steinitz [EMAIL PROTECTED] Cc: [EMAIL

Re: Effect of large binaries on garbage collection

2003-03-11 Thread Manuel M T Chakravarty
Simon Peyton-Jones [EMAIL PROTECTED] wrote, | In the current CVS GHC, undoubtedly the right thing to use is | Foreign.mallocForeignPtr. Internally these are implemented as | MutableByteArray#, so you get fast allocation and GC, but from the | programmer's point of view it's a normal

RE: polymorphic type in state of state monad

2003-03-11 Thread Simon Peyton-Jones
| | type State = Term a = [a] | | data M a = M (State - IO(State,a)) | | | | GHC yields a error message Illegal polymorphic type. | | How to resolve this? I can tell you what it happening. If you have -fglasgow-exts on, the type for State is short for type State = forall a. Term

CHARME 2003

2003-03-11 Thread Tronci Enrico
-- We apologize if you receive multiple copies of this announcement. -- ***

ANNOUNCE: GHC vesrion 5.04.3 released

2003-03-11 Thread Simon Marlow
== The (Interactive) Glasgow Haskell Compiler -- version 5.04.3 == We are pleased to announce a new patchlevel release of the Glasgow Haskell Compiler (GHC), version

ANNOUNCE: Helium, for Learning Haskell, version 1.1

2003-03-11 Thread Arjan van IJzendoorn
Dear all, We are proud to announce version 1.1 of Helium. It can be found at the Helium website: http://www.cs.uu.nl/~afie/helium/ Version 1.1 has the following improvements: - An installer for Windows systems for an improved out-of- the-box experience. - A cool Java-based graphical

clueless GHCI user wishes to load QuickCheck

2003-03-11 Thread Norman Ramsey
Can anyone help me figure out how to load QuickCheck into GHCI? QuickCheck is included in my Debian package, but my attempts at loading it are bootless: Prelude :load QuickCheck can't find module `QuickCheck' Prelude :load util/QuickCheck can't find module `util/QuickCheck' Prelude :info syntax:

Re: clueless GHCI user wishes to load QuickCheck

2003-03-11 Thread shae
[EMAIL PROTECTED] (Norman Ramsey) writes: Can anyone help me figure out how to load QuickCheck into GHCI? QuickCheck is included in my Debian package, but my attempts at loading it are bootless: Prelude :load QuickCheck snip Any advice, anyone? You need to load a source file that imports

Re: Problem with hierarchical libraries.

2003-03-11 Thread Iavor S. Diatchki
hi, sorry for moving this back to the haskell mailing list, but i think the module system is part of the language and is not a library. Simon Marlow wrote: [ moved to [EMAIL PROTECTED] ] why not fix the design to take this into account? one can have two ways to refer to modules - relative

Re: clueless GHCI user wishes to load QuickCheck

2003-03-11 Thread Arthur Baars
QuickCheck is in de util package. You can load a package with the -package flag: $ ghci -package util Prelude :browse QuickCheck class Arbitrary a where { arbitrary :: Gen a; coarbitrary :: forall b. a - Gen b - Gen b; } arbitrary :: forall a. (Arbitrary a) = Gen a ... Prelude:module

Re: Conway's Life

2003-03-11 Thread Abraham Egnor
I'll answer my own question; I've got a much better implementation, along with an HOpenGL-based frontend, at http://ofb.net/~abe/hlife/hlife-0.1.tar.gz;. It uses a FiniteMap of 5x5 UArrays that are created and destroyed as needed; this gives it a good balance of size (the grid is only bounded by