Re: Results: poll: polymorphic let bindings in do

2000-06-07 Thread Marcin 'Qrczak' Kowalczyk
6 Jun 2000 18:54:36 GMT, Marcin 'Qrczak' Kowalczyk [EMAIL PROTECTED] pisze: As I said: drop the "let" keyword inside "do", so it won't suggest polymorphism. Would it be possible to have polymorphism only in bindings with explicit type signature? Oops, explitit type signatures don't fit to

RE: Results: poll: polymorphic let bindings in do

2000-06-07 Thread Simon Marlow
Thanks for everyone who participated in the recent poll. Here are the results: Never used: 6 Sometimes used: 1 Common commments: willing to give it up for something cool can be easily rewritten wouldn't make a lot of difference not sure if used ever, but

Re: Results: poll: polymorphic let bindings in do

2000-06-07 Thread Ross Paterson
On Tue, Jun 06, 2000 at 11:30:41AM -0700, John Launchbury wrote: I don't think that's a very accurate description. The "let" in "do" is a bit of a different beast from the usual "let..in" construct. For a start, it doesn't have an "in" keyword. But it is in the translation, of course:

Re: Results: poll: polymorphic let bindings in do

2000-06-07 Thread Claus Reinke
Isn't that a bit of a dodgy argument? I don't know of any papers on `in' polymorphism, but many about `let' polymorphism. If I see `let', I expect polymorphism, and I'm not going to go searching for an `in'. Not true (or if true, misguided). I say dodgy - you say misguided. OK -

Results: poll: polymorphic let bindings in do

2000-06-06 Thread Levent Erkok
Thanks for everyone who participated in the recent poll. Here are the results: Never used: 6 Sometimes used: 1 Common commments: willing to give it up for something cool can be easily rewritten wouldn't make a lot of difference not sure if used ever, but wouldn't expect it

Re: Results: poll: polymorphic let bindings in do

2000-06-06 Thread Koen Claessen
Levent Erkok wrote: | In particular, the person who indicated that he has | "sometimes used" polymorphic let-generators stated | that he can always rewrite the code without using | them. That same person also said that this is the case for many other Haskell features, such as list

Re: Results: poll: polymorphic let bindings in do

2000-06-06 Thread Levent Erkok
On Tue, 06 Jun 2000, Koen Claessen wrote: Now, obviously there are not that many people who use polymorphic let-bindings in do, but I don't think that is a reason to introduce this restriction. I agree. We were just trying to see if such polymorphic let-generators were used often in

Re: Results: poll: polymorphic let bindings in do

2000-06-06 Thread John Launchbury
Koen, If a language has the property that in one place, one can use a "let" block to define polymorphic bindings, and in another place one can only use it for monomorphic bindings, then I think that is bad language design. I don't think that's a very accurate description. The "let" in "do"

Re: Results: poll: polymorphic let bindings in do

2000-06-06 Thread Levent Erkok
(Apologies to the list: The previous version of this message got out a little premature, here's the complete version of it..) Here's the pointer: http://www.cse.ogi.edu/PacSoft/projects/muHugs/ The paper titled "Recursive Monadic Bindings" explains the ideas. (It also briefly talks

Re: Results: poll: polymorphic let bindings in do

2000-06-06 Thread Marcin 'Qrczak' Kowalczyk
Tue, 6 Jun 2000 20:09:41 +0200 (MET DST), Koen Claessen [EMAIL PROTECTED] pisze: If a language has the property that in one place, one can use a "let" block to define polymorphic bindings, and in another place one can only use it for monomorphic bindings, then I think that is bad language

Re: Results: poll: polymorphic let bindings in do

2000-06-06 Thread Jeffrey R. Lewis
John Launchbury wrote: Koen, If a language has the property that in one place, one can use a "let" block to define polymorphic bindings, and in another place one can only use it for monomorphic bindings, then I think that is bad language design. I don't think that's a very accurate

Re: Results: poll: polymorphic let bindings in do

2000-06-06 Thread John Launchbury
Jeff, Isn't that a bit of a dodgy argument? I don't know of any papers on `in' polymorphism, but many about `let' polymorphism. If I see `let', I expect polymorphism, and I'm not going to go searching for an `in'. Not true (or if true, misguided). Consider the type rule for "let". The

Re: Results: poll: polymorphic let bindings in do

2000-06-06 Thread Jeffrey R. Lewis
John Launchbury wrote: Jeff, Isn't that a bit of a dodgy argument? I don't know of any papers on `in' polymorphism, but many about `let' polymorphism. If I see `let', I expect polymorphism, and I'm not going to go searching for an `in'. Not true (or if true, misguided). I say dodgy