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
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
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
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]
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
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
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
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,
|