RE: GHCi-5.04.2: Windows Open with ... problem.

2003-02-14 Thread Martin Norbäck
fre 2003-02-14 klockan 09.41 skrev Simon Peyton-Jones: Weÿll merge the fix into the 5.04 branch. Weÿre planning another 5.04 release (5.04.4), which has numerous small fixes, sometime ´soon¡, but exactly when depends on demand. When would you need it for your course? Will this release

RE: MArray and runST

2003-02-14 Thread Simon Peyton-Jones
Interesting example! | Coincidentally, I tripped over this subtlety myself just last night. (I, | too, often use '$' to avoid nested parentheses.) I concluded it was an | instance of the partial-application restriction that I found described in | section 7.11.4 of the GHC 5.02 User's Guide

Re: MArray and runST

2003-02-14 Thread Dean Herington
Simon Peyton-Jones wrote: Interesting example! | Coincidentally, I tripped over this subtlety myself just last night. (I, | too, often use '$' to avoid nested parentheses.) I concluded it was an | instance of the partial-application restriction that I found described in | section 7.11.4

Question about compiling CGIs with Ghc

2003-02-14 Thread ALFONSO MELENDEZ
Hello: I have some CGI programs running with Hugs and I want to use GHC instead. What changes must I do to the .hs file? Is it an easy job? Thank you very much ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED]

RE: Yet another weakly defined bug report

2003-02-14 Thread Simon Marlow
What is the limit on open files, and why? I think it'd be nice to just schedule a huge amount of IO operations, and have them all be performed when required (i.e. when the FM is first accessed). Apparently, my addDir took the trouble to open the files, but not generate the FMs -- any idea

Re: Yet another weakly defined bug report

2003-02-14 Thread Dean Herington
Yes, getting the right amount of strictness--and in the right places--can be tricky. For your program, it seems you should process each file completely (reflecting its contents strictly in your histogram so the contents can be dropped and the file descriptor closed) before moving on to the next

RE: Pattern matching, implict par. question

2003-02-14 Thread Simon Peyton-Jones
Well the definition clearly falls under the monomorphism restriction as laid down by the Report, because you haven't given a signature for us,n,j. I suggest ctPar :: (?ctPar::CTPar) = CTPar ctPar = ?ctPar (us,n,j) = ctPar That should work Simon | -Original Message- | From: Jorge

RE: Pattern matching with implicit par. bug

2003-02-14 Thread Simon Peyton-Jones
This is ok in ghc-5.04.2 onwards. Time to update your GHC Simon | -Original Message- | From: Jorge Adriano [mailto:[EMAIL PROTECTED]] | Sent: 13 February 2003 14:21 | To: [EMAIL PROTECTED]; GHC Users Mailing List | Subject: Pattern matching with implicit par. bug | | There it goes, |