Re: Library conventions

2000-06-27 Thread johnsson
Lennart Augustsson writes: > > Using `Left' and > > `Right' for such cases is fundamentally confusing since it is not > > clear what the meaning of `Left' and `Right' is. > Well, I don't totally agree. Anyone using Right for Wrong deserves to > have his/her head examined. :) Unless you're l

RE: Questions about printing and rounding Float numbers

2000-06-27 Thread Sigbjorn Finne
Lennart Augustsson <[EMAIL PROTECTED]> writes: > > > (I have never known. Sorry to be dense. I guess you put in 7 or > > something if some operator has precedence 7. I know, I could read > > the code...) > > Get an old version of the Haskell report; it's spelled out in > detail there. I'm no

Re: Questions about printing and rounding Float numbers

2000-06-27 Thread Lennart Augustsson
Peter Hancock wrote: > > "Lennart" == Lennart Augustsson <[EMAIL PROTECTED]> writes: > > >> I always thought that the Int argument to showsPrec is the precision. > >> So what is it good for? The library report does not explain it. > > > It's used to indicate the precedence when yo

Re: Questions about printing and rounding Float numbers

2000-06-27 Thread Peter Hancock
> "Lennart" == Lennart Augustsson <[EMAIL PROTECTED]> writes: >> I always thought that the Int argument to showsPrec is the precision. >> So what is it good for? The library report does not explain it. > It's used to indicate the precedence when you print with operators to avoid

Re: Questions about printing and rounding Float numbers

2000-06-27 Thread Lennart Augustsson
Michael Marte wrote: > > Michael Marte wrote: > > > > > I have a simple problem but it seems to be quite involved: I want to print > > > floating point numbers with a given number of decimal points. > > > > > > First, I found out that both ghc and hugs do not consider the precision > > > argument

Happy 1.7 InstallShield updated

2000-06-27 Thread Reuben Thomas
Erik Meijer found a corrupt script in the archive uploaded earlier, which stopped Happy running at all. It's now fixed. -- http://sc3d.org/rrt/ | Maximiste, n. pessimiste

RE: Sockets

2000-06-27 Thread Simon Marlow
> How do I use sockets in Haskell? The ghc manual had some > information in the users guide (6.7 Interfaces to C > libraries) but the sentence which started tantalisingly > > "Various examples of networking Haskell code are provided in " > > had no second half. > > I'd prefer to use hugs du

Windows InstallShield for Happy (1.7)

2000-06-27 Thread Reuben Thomas
A binary distribution of Happy is now available for Windows. It's a distribution of the latest CVS version, which is quite stable, and contains a few enhancements over 1.6, hence the bumped-up version number. Point your browsers at: http://www.haskell.org/happy/ -- http://sc3d.org/rrt/ L'art de

Re: Library conventions

2000-06-27 Thread D. Tweed
On Tue, 27 Jun 2000, Lennart Augustsson wrote: > > Using `Left' and > > `Right' for such cases is fundamentally confusing since it is not > > clear what the meaning of `Left' and `Right' is. > Well, I don't totally agree. Anyone using Right for Wrong deserves to > have his/her head examined. :)

2nd Invitation to IFL2000

2000-06-27 Thread Olaf Chitil
This is the second invitation and call for contributions to the 12th INTERNATIONAL WORKSHOP on the IMPLEMENTATION of FUNCTIONAL LANGUAGES (IFL2000) =

Re: Library conventions

2000-06-27 Thread Lennart Augustsson
> Using `Left' and > `Right' for such cases is fundamentally confusing since it is not > clear what the meaning of `Left' and `Right' is. Well, I don't totally agree. Anyone using Right for Wrong deserves to have his/her head examined. :) -- Lennart