The example code is slightly wrong.
Change this:
(_,_,errs) - fail (userError (concat errs ++ usageInfo header
to this:
(_,_,errs) - ioError (userError (concat errs ++ usageInfo
header
Cheers,
Simon
___
Glasgow-haskell-bugs
Hi,
When I am trying to compile my prgram with -prof -auto-all -O2, It fails
saying:
Failed to find interface decl for
But it is fine if I compile with either profiling or optimization options
alone. Are they not supposed to work together?
Thanks,
Saswat
Folks
I suggest we transfer this discussion about unary minus to
[EMAIL PROTECTED]
As the original poster noted, it is not a subject on which the existing
Haskell report
is ambiguous or inconsistent, so I don't propose to make any change in
Haskell 98.
The next version of Haskell, maybe.
It's not formally defined, I'm afraid. The Haskell report simply
desribes how to
translate some constructs into simpler ones. It does not formally
define the set
of simpler one.
(This isn't something I propose to fix in the revised Haskell 98
report!)
Simon
| -Original Message-
|
On 2001-08-13T18:08:08-0400, Avi Pfeffer wrote:
Inferring equality between types when there are functional dependencies
seems to be less powerful than I expected. Here's a simple example:
class Eq b = C a b | a - b
data T a = forall b . C a b = T b
data U a = forall b . C a b = U b
Folks,
The Haskell Workshop in Firenze on 2nd September is now only a couple of
weeks away. If you'd like to attend but haven't yet registered, please do
so as soon as possible. For further details, see:
http://music.dsi.unifi.it/pli01/registration/index.html
The workshop programme
hello, i just want to ask a simple question: does
somebodyhave or know where to find a haskell program that calculates the
number e, that is the list ofinfinite digits? Because i think it may be
possible to do it, but ihavenĀ“t find the way to do it.
what i am looking for is something likethe