On Wed, Oct 15, 2008 at 10:41:25AM +0100, Malcolm Wallace wrote:
Dear Haskell-Primers (and libraries).
Recently, Phil Wadler has pointed out a weird anomaly in the Haskell'98
Prelude, regarding numeric enumerations for Floats/Doubles:
Prelude [0, 0.3 .. 1.1]
. Floating
point numbers are not the real numbers, and the sooner they learn that
the better. We can fudge this all we like, but 0.1 is never going to
be exactly representable as a binary floating point number no matter
what we do.
On Wed, Oct 15, 2008 at 3:44 PM, David Roundy [EMAIL PROTECTED
that I define a helper
function that's only used once.
--
David Roundy
Department of Physics
Oregon State University
___
Haskell-prime mailing list
Haskell-prime@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-prime
On Thu, Feb 01, 2007 at 09:12:02AM -0800, David Roundy wrote:
On Wed, Jan 31, 2007 at 09:28:30PM +0300, Bulat Ziganshin wrote:
Next, i don't think that ability to use any functions in view buy
something important. pattern guards can be used for arbitrary
functions, or such function can
that the view Coord
is a function that you can never explicitely call, but to me that just
makes things even more confusing. Now we're defining functions that we can
only use in pattern matching, but can never call.
--
David Roundy
http://www.darcs.net
___
Haskell
(a :: b) rather than the always-vague (LT a b) which either reads the
same as the infix version or backwards.
[...]
I think they are valid now!
Silly me! I didn't even think to try! Nice. And thanks!
--
David Roundy
Department of Physics
Oregon State University
, more complicated functions.
--
David Roundy
___
Haskell-prime mailing list
Haskell-prime@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-prime
desired latency. His spec does this in a rigorous, but achievable
manner (i.e. a useful spec).
--
David Roundy
http://www.darcs.net
___
Haskell-prime mailing list
Haskell-prime@haskell.org
http://haskell.org/mailman/listinfo/haskell-prime
interruptible by exiting), but I'm not really sure how one would
go about that.
--
David Roundy
http://www.darcs.net
___
Haskell-prime mailing list
Haskell-prime@haskell.org
http://haskell.org/mailman/listinfo/haskell-prime
thrown, but rewriting all the std library functions seems like a
rather crude way of doing this. On the other hand, I suppose that this
could also provide a reference implementation of asynchronous exceptions
for any Haskell' that supports concurrency...
--
David Roundy
http://www.darcs.net
behavior sounds nicer, but I'd rather there were the
possibility of naming our haskell files whatever we liked. Currently, as
far as I can see, we can only do this with Main, and even then there are
weirdnesses in ghc because Main.hi gets generated.
--
David Roundy
http://www.darcs.net
11 matches
Mail list logo