Re: ghc 6.6 Debian packages

2007-07-06 Thread Christian Maeder
Ian Lynagh schrieb: If you are using Debian etch then you can do apt-get install libghc6-.*-dev to install all GHC 6 libraries. There isn't such an easy way to install just those (somewhat arbitrarily) defined to be extralibs, though. Could someone list the available packages (and its

Re: ghc 6.6 Debian packages

2007-07-06 Thread Ian Lynagh
On Fri, Jul 06, 2007 at 09:46:39AM +0200, Christian Maeder wrote: Ian Lynagh schrieb: If you are using Debian etch then you can do apt-get install libghc6-.*-dev to install all GHC 6 libraries. There isn't such an easy way to install just those (somewhat arbitrarily) defined to

Re: Prefix form of unboxed tuple

2007-07-06 Thread John Meacham
On Fri, Jul 06, 2007 at 11:26:00AM +0100, Neil Mitchell wrote: ghci -fglasgow-exts Prelude case (# 1 , 2 #) of (# a , b #) - error $ show (a,b) *** Exception: (1,2) You might expect there to be a prefix form of the unboxed tuple: Prelude case (#,#) 1 2 of (# a , b #) - error $ show (a,b)

Re: Prefix form of unboxed tuple

2007-07-06 Thread Isaac Dupree
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Meacham wrote: On Fri, Jul 06, 2007 at 11:26:00AM +0100, Neil Mitchell wrote: ghci -fglasgow-exts Prelude case (# 1 , 2 #) of (# a , b #) - error $ show (a,b) *** Exception: (1,2) You might expect there to be a prefix form of the unboxed

Re: problem compiling an older Haskell program with GHC 6.6.1

2007-07-06 Thread Johannes Waldmann
Could not find module `Data.FiniteMap': is this a backwards-compatibility issue between GHC 6.6.1 and older versions of GHC? the module has just vanished from libraries. is there a simple workaround? ugly, but workable:

Re: problem compiling an older Haskell program with GHC 6.6.1

2007-07-06 Thread Neil Mitchell
Hi http://dfa.imn.htwk-leipzig.de/cgi-bin/cvsweb/lib/Autolib/Data/Map.hs?rev=1.6 Or easier: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/FiniteMap-0.1 Thanks Neil ___ Glasgow-haskell-users mailing list

Re: ghc 6.6 Debian packages

2007-07-06 Thread Ketil Malde
On Thu, 2007-07-05 at 12:11 -0400, Matthew Danish wrote: On Thu, Jul 05, 2007 at 11:15:03AM +0200, Christian Maeder wrote: Is there no way to provide all the extra libs in one debian package for ghc? It may be possible to create a package which depends on all normal extras but that seems

problem compiling an older Haskell program with GHC 6.6.1

2007-07-06 Thread Scott Stoller
hi, I am trying to compile paradox 1.0, an older (GHC 5) Haskell program, with GHC 6.6.1 (the Solaris 10 / x86 binary distribution). in case anyone else wants to try it, I put the paradox source code at http://www.cs.sunysb.edu/~stoller/out/paradox-1.0-casc.tar.gz in the Makefile, I deleted

Re: ghc 6.6 Debian packages

2007-07-06 Thread Duncan Coutts
On Fri, 2007-07-06 at 08:36 +0200, Ketil Malde wrote: On Thu, 2007-07-05 at 12:11 -0400, Matthew Danish wrote: On Thu, Jul 05, 2007 at 11:15:03AM +0200, Christian Maeder wrote: Is there no way to provide all the extra libs in one debian package for ghc? It may be possible to create

RE: Prefix form of unboxed tuple

2007-07-06 Thread Simon Peyton-Jones
| You might expect there to be a prefix form of the unboxed tuple: | | Prelude case (#,#) 1 2 of (# a , b #) - error $ show (a,b) | interactive:1:7: parse error on input `,' | | But there isn't. No real reason why not. If you write foo :: a - b - (# a,b #) foo x y = (# x, y #) then foo should

RE: Re[2]: Prefix form of unboxed tuple

2007-07-06 Thread Simon Peyton-Jones
| one particular feature i wanted in my fast io/serialization libs is | ability to return unboxed tuple from IO action. is this also possible? No -- that's an example of instantiating a polymorphic type with an unboxed one. Sorry. S ___

rpm for RHEL4

2007-07-06 Thread chuckanut
Hi, I am looking for an rpm for Red Hat enterprise linux 4 for x86_64. Can anyone point me to such an rpm? I don't think the FC5 binary will work on EL4. Thanks ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org