On Sunday, March 05, 2000 10:06 AM, Reuben Thomas
[SMTP:[EMAIL PROTECTED]] wrote:
>
> ...except there were rounding problems. Floating-point numbers are simply
> difficult. Representing them is bad, displaying them is worse, and there
> are questions I don't know the answer to about how the list
> I´m pretty new in haskell and I'm wondering about the following list
> HUGS98 gave me:
>
> I typed :
> Prelude> [1, 1.1 .. 10]
> and expected an ascending list from 1 to 10 in exact steps of 0.1
...which is what you got...
> This is what Hugs gave me:
> [1.0 , 1.1, (...) 7.7, 7.7, 7.8999
Hi folks,
I´m pretty new in haskell and I'm wondering about the following list
HUGS98 gave me:
I typed :
Prelude> [1, 1.1 .. 10]
and expected an ascending list from 1 to 10 in exact steps of 0.1
This is what Hugs gave me:
[1.0 , 1.1, (...) 7.7, 7.7, 7.8, 7.9, 8.0, 8.2, 8.3,
(.
On Sat, Mar 04, 2000 at 08:05:08PM +0300, S.D.Mechveliani wrote:
> John Meacham <[EMAIL PROTECTED]> writes on 4 Mar 2000
>
> > [..]
> > It is VERY useful to allow reuseability of code in ways the original
> > author did not anticipate.
> > for an example from algebra imagine you are given a
John Meacham <[EMAIL PROTECTED]> writes on 4 Mar 2000
> [..]
> It is VERY useful to allow reuseability of code in ways the original
> author did not anticipate.
> for an example from algebra imagine you are given a class Num a
> which basically represents a field and you need a Group class
Pardon if my terminology is a bit off, but this is my first haskell language
suggestion. In any case I thought a feature that might be very useful for
haskell would be the ability to supertype as well as subtype classes. Basically
it would allow you too add nodes anywhere in the class inheritence
C->Haskell, An Interface Generator for Haskell
version 0.7.5
I am pleased to announce the third beta release of the
interfacing tool C->Haskell. It provides lightweight tool
support for accessing C libraries from Haskell. More
details and download at
http://www.cse.unsw.e