> 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 to be a 
> disaster               
> 
> 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.
> 
> Since the Haskell-mailing list has a lot more than 7 
> subscribers, this might
> be considered as another indication that polymorphic 
> let-generators are not 
> even interesting to most people anyway.

It probably has more to do with the fact that there isn't an easy way to
tell whether you use polymorphic let generators or not.  I for one have
heaps of code lying around that I'm not going to look through by hand to
find out; I suppose I could modify the compiler to tell me but that doesn't
fill me with enthusiasm either :)

At a guess, I'd say I probably use polymorphic let-in-do very occasionally.
And in those cases where I've declared a polymorphically-typed expression in
a let, I've probably only used it at one type anyway.

On the other hand, I can recall very few occasions where I've needed a
recursive do.

There you go, just another data point.

Cheers,
        Simon

Reply via email to