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
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
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,
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
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)
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 =
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
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
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