[Haskell-cafe] "Assignment" in do blocks?

Andreas Abel andreas.abel at ifi.lmu.de
Tue Sep 8 12:27:44 UTC 2015


On 07.09.2015 22:18, Silvio Frischknecht wrote:
> Looking at the nitpick list, I just remembered that there was a
> discussion about making let optional in do bindings a couple of years ago.
>
> https://mail.haskell.org/pipermail/haskell-cafe/2012-August/102741.html
>
> One of the major stumbling points was how recursive bindings should
> work. These these two proposals would combine nicely.
>
> adding a statement
>
> pat = exp
>
> that expresses a non-recursive let.

Exactly!  +1 from me.

-- 
Andreas Abel  <><      Du bist der geliebte Mensch.

Department of Computer Science and Engineering
Chalmers and Gothenburg University, Sweden

andreas.abel at gu.se
http://www2.tcs.ifi.lmu.de/~abel/


More information about the Haskell-Cafe mailing list