IO recursion

2001-04-06 Thread mapple apple
Hi everyone, I'm not sure this is the place to ask, coz I hvn't join your mailing list. But anyway .. Here's the case .. does anybody know 'bout IO recursion? ie. We've a file and we want to put a numberline 1: 'first line' 2: 'second line' until n, where n is the last line I know how to conve

IO recursion

2001-04-06 Thread mapple apple
Hi everyone, I'm not sure this is the place to ask, coz I hvn't join your mailing list. But anyway .. Here's the case .. does anybody know 'bout IO recursion? ie. We've a file and we want to put a numberline 1: 'first line' 2: 'second line' until n, where n is the last line I know how to conve

Re: Revised Haskell Report

2001-04-06 Thread Matt Harden
The changes to the Random module are exactly what I was hoping to see. Thanks, Matt Harden (formerly [EMAIL PROTECTED], now [EMAIL PROTECTED]) Simon Peyton-Jones wrote: > > The Revised Haskell 98 Report > > I'm happy to say that at long last I have worked through my > immense h

Re: Revised Haskell Report

2001-04-06 Thread Marcin 'Qrczak' Kowalczyk
Fri, 6 Apr 2001 04:04:34 -0700, Simon Peyton-Jones <[EMAIL PROTECTED]> pisze: > Please take a look at these drafts, and tell me if there are any > remaining errors. | * Page 80, Section 6.3.6, Class Monad. Right at the bottom of the | page, after "However, for IO, the fail method invokes error

Profiling burn-rate

2001-04-06 Thread Sengan
Is there any way to profile the "burn-rate" of a Haskell program? Profiling as I understand it tells you what the "live" information on the heap is. It doesn't tell you what garbage collector has just freed. So, if a function were generating tons of intermediate values which it then immediately c

Re: FFI - some comments

2001-04-06 Thread Marcin 'Qrczak' Kowalczyk
Fri, 6 Apr 2001 04:28:28 -0700 (PDT), Ronald Legere <[EMAIL PROTECTED]> pisze: > Maybe Marcin can append his story to the README :) Done. QForeign-0.65 will be released in a few days. -- __("< Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/ \__/ ^^ SYGN

Re: FFI - some comments

2001-04-06 Thread Ronald Legere
--- Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> wrote: > Here is the story of QForeign, hsc and KDirect. Wow, that really answered my questions about QForeign! My impression was completely wrong. Maybe Marcin can append his story to the README :) I will in my copy:) Marcin's philosophy is

floor(Inf), floor (NaN)

2001-04-06 Thread Simon Peyton-Jones
Further to my mail re the Haskell 98 report, there is one loose end. | 2. George Russell pointed out that floor(Inf) and floor(NaN) are not | defined in Standard Haskell; indeed GHC and Hugs have | different behaviour. This point led to an inconclusive discussion back in March 2000. Fergus H

Revised Haskell Report

2001-04-06 Thread Simon Peyton-Jones
The Revised Haskell 98 Report I'm happy to say that at long last I have worked through my immense heap of Haskell-98 typos, and have revised the Language and Library Reports. You can find a draft of the revised reports at http://research.microsoft.com/~simonpj/haskell9

RE: FFI - some comments

2001-04-06 Thread Simon Marlow
> Thu, 5 Apr 2001 07:45:44 -0700 (PDT), Ronald Legere > <[EMAIL PROTECTED]> pisze: > > > KDirect: Looked at it abit. Pretty sparsely documented. I could not > > figure out how it fits in with the latest tools. How does QForeign > > relate to Foreign? What is an hsc file? Also it is pretty limitt

13 vacant positions at the IT University of Copenhagen

2001-04-06 Thread Mads Tofte
[This job announcement is being sent to mailing lists that are read by researchers who work on aspects of information technology relevant to the IT University of Copenhagen. Feel free to circulate it! Apologies if you receive multiple copies. I'll be very happy to provide further information