[Haskell-cafe] code example

2004-12-19 Thread armin langhofer
hi all i'm going to write an exam in haskell tomorrow (monday) and i therefore i have to understand what this does: repeat_until::(a-Bool)-(a-a)-a-a repeat_until crit change x |crit x = x --zufrieden |otherwise = repeat_until crit change (change x) --weiter fix::(Float-Float)-Float-Float fix

Re: [Haskell-cafe] code example

2004-12-19 Thread Scott Turner
On 2004 December 19 Sunday 17:31, armin langhofer wrote: this is the use: Prelude :l e:\haskell\burstall.hs Main fix square 0.01 0.01 it seems that i dont have a clue how it works. maybe some of you could explain it to me that i can pass the exam tomorrow, Do you know

Re: [Haskell-cafe] Why no IO transformer monad?

2004-12-19 Thread Philippa Cowderoy
On Sat, 18 Dec 2004, Henning Sato von Rosen wrote: But, I am working on understanding IO magic, on a much more concrete level, so I am am looking for a really good explanation of the above. (And the IO monad in general.) One way of looking at it is that a monad is an interpreter that has access

Re: [Haskell-cafe] FFI woes!

2004-12-19 Thread Sebastian Sylvan
On Sat, 18 Dec 2004 20:24:47 -0500, Robert Dockins [EMAIL PROTECTED] wrote: Well that shouldn't affect the functionality. The weak pointer was only a way of attatching a finalizer to the Playback object. It is true that I should probably wrap up the the SoundPlaybackRaw inside the