[Haskell] strict vs. lazy state threads

2005-07-26 Thread Wolfgang Jeltsch
Hello, http://haskell.org/ghc/docs/latest/html/libraries/base/Control.Monad.ST.html says about the module Control.Monad.ST: This library provides support for strict state threads, as described in the PLDI '94 paper by John Launchbury and Simon Peyton Jones Lazy State Threads. I cann

RE: [Haskell] combining IntMaps

2005-07-26 Thread Scherrer, Chad
Thanks! It's interesting the way your AVL tree library is set up -- there seems to be a much broader degree of functionality than that provided by Data.Set. But I'm trying to see, is there a significant difference in the fundamental data structure, or is the main point that the additional functiona

[Haskell] Haskell SOE Question

2005-07-26 Thread Alex Edelsburg
Hello!    I'm a student in Professor John Peterson's Elements of Computing (class site located here: http://cs.yale.edu/cs110-05) and he's having me learn Haskell with Paul Hudak's SOE book. I'm working on the PaddleBall in 20 lines at the end of Chapter 15 and I'm having a problem with HUGS.

Re: [Haskell] Haskell SOE Question

2005-07-26 Thread Lemmih
On 7/27/05, Alex Edelsburg <[EMAIL PROTECTED]> wrote: > > Hello! > I'm a student in Professor John Peterson's Elements of Computing (class > site located here: http://cs.yale.edu/cs110-05) and he's having me learn > Haskell with Paul Hudak's SOE book. I'm working on the PaddleBall in 20 > li

Re: [Haskell] Haskell SOE Question

2005-07-26 Thread Alex Edelsburg
Thanks for the quick reply. I rewrote import Word (word32ToInt) as import Word (fromIntegral). It took much longer for Hugs to compile my code (I know its technically an interpeter...) but when it finished, I got the following error. ERROR "Animation.hs" - Unknown entity "fromIntegral" importe

Re: [Haskell] combining IntMaps

2005-07-26 Thread Adrian Hey
Hello, On Tuesday 26 Jul 2005 7:58 pm, Scherrer, Chad wrote: > Thanks! It's interesting the way your AVL tree library is set up -- > there seems to be a much broader degree of functionality than that > provided by Data.Set. But I'm trying to see, is there a significant > difference in the fundamen