Let me try that again:
rationalToRealFloat:: (RealFloat a) => Rational -> a
rationalToRealFloat x = x'
where x'= f e
f e = if e' == e then y else f e'
where y = encodeFloat (round (x * (b%1)::(-e)) e
(_,e') = decod
Folks,
Here's an attempt at rationalToRealFloat (formerly known as
rationalToFloating):
rationalToRealFloat:: (RealFloat a) => Rational -> a
rationalToRealFloat x = x'
where x'= f e
f e = if e' == e then y else f e'
where y = encodeFloat (ro
At the last minute, I have found some Enum bugs in 1.2.beta.
As I don't know if they have been fixed in 1.2.gamma, which
I guess was circulated yesterday, here they are:
1) According to the specification (section 3.9), the
value of
[ 7, 7 .. 3 ]
is the infinite li
I thought this message from Joe should have wider circulation.
Someone out there must have good ideas about this!
Simon
--- Forwarded Message
Date:Thu, 27 Feb 92 01:38:44 -0700
From:[EMAIL PROTECTED] (Joe Fasel)
To: [EMAIL PROTECTED], [EMAIL PROTECTED], kh,
[EMAIL PRO
> I've got a query about exporting classes and instances from a module.
> In the report (1.2beta) it says that a class and all its methods are exported
> if either it is explicitly named in the export list, or implicitly exported
> if the export list is omited. I don't understand what is sup
Hi,
I've got a query about exporting classes and instances from a module.
In the report (1.2beta) it says that a class and all its methods are exported
if either it is explicitly named in the export list, or implicitly exported
if the export list is omited. I don't understand what is suppo
|At the last minute, I have found some Enum bugs in 1.2.beta.
|As I don't know if they have been fixed in 1.2.gamma, which
|I guess was circulated yesterday, here they are:
Thanks, Mikael.
| 1) According to the specification (section 3.9), the
| value of
|
| [ 7, 7 .. 3 ]
|