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

Silvio Frischknecht silvio.frischi at gmail.com
Mon Sep 7 20:18:50 UTC 2015


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.

Silvio


More information about the Haskell-Cafe mailing list