Floats don't like to be referenced [was: Buggy derived instance of Show]

1998-01-29 Thread Manuel Chakravarty
Scary, but true...the floats in my version of ghc don't like to be referenced. The program data MassPnt = MassPnt Float (Float, Float) deriving (Show) main = do print 1.18088e+11-- (1) let x = 1.18088e+11

Still unhappy

1998-01-29 Thread Ralf Hinze
Guess what? It's the old 'for i in ;' problem again. Try 'make install SHELL=bash' (I think the upper case is important). Yes, the upper case is important. However, installing happy from the binaries still does not work. Here is a summary of my undertakings: gunzip

Re: Strange module exportation behavior

1998-01-29 Thread Simon L Peyton Jones
Conal: great bug report; thanks. Meanwhile a workaround is to use qualified names in the export list for Test2: module Test2( Test1.foo, module Test2 ) import Test1 hiding(main) main = ... Inconvenient, but it should get you rolling. Simon,

Re: error: (misc)

1998-01-29 Thread Sigbjorn Finne
Alex Ferguson writes: install-sh does a fine line in unhelpful error messages: well, error message singular, at any rate... for i in hp2ps; do \ /export/home/ferguson/ghc-3.00/build/install-sh -c -g ghc-admin -s $i /usr/local/bin; \ done hp2ps:error reading file This

Re: Fun with 3.00

1998-01-29 Thread Simon L Peyton Jones
One can play funny games with GHC-3.00 and the following program (a small fragment of a Happy-generated parser): -- module Foo ( happyParse ) where action_0 1 = \j tk _ - action_1 j j tk (HappyState action_1)

Fun with 3.00

1998-01-29 Thread Sven Panne
One can play funny games with GHC-3.00 and the following program (a small fragment of a Happy-generated parser): -- module Foo ( happyParse ) where action_0 1 = \j tk _ - action_1 j j tk (HappyState action_1) action_1 3 =

Re: haskell and exceptions

1998-01-29 Thread Ralf Hinze
Matthias Fischmann writes ... I am now trying to learn Haskell for half a week and I like it a lot. But I still did not find out too much about exception handling. Is it possible that there is no ml-like mechanism with `raise' and `handle' built in? Yes, I know about types like data

Re: haskell and exceptions

1998-01-29 Thread Dave Tweed
On Thu, 29 Jan 1998, Ralf Hinze wrote: Matthias Fischmann writes ... I am now trying to learn Haskell for half a week and I like it a lot. But I still did not find out too much about exception handling. Is it possible that there is no ml-like mechanism with `raise' and `handle' built

application announce

1998-01-29 Thread S.D.Mechveliani
Announcement: The Algebraic Domain Constructor DoCon, version 1.06 --- DoCon-1.06 a computer algebra program written in a pure functional language Haskell (version 1.4) can be copied freely, as a source program (see