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

Anupam Jain ajnsit at gmail.com
Thu Aug 27 13:21:57 UTC 2015

On Wed, Aug 26, 2015 at 6:04 PM, Francesco Ariis <fa-ml at ariis.it> wrote:
> On Wed, Aug 26, 2015 at 05:55:45PM +0530, Anupam Jain wrote:
>> Hi all,
>> I'd like to propose an inbuilt "assignment" operator for use within
>> do-blocks.
> Time to add your proposal here!
> https://wiki.haskell.org/Nitpicks

I just requested access to the wiki.

> Honestly, I feel it would break the way I read Haskell programs
> (i.e. no reassignment surprises).

How is this any worse than using `foo <- return $ bar foo` or `let foo
= something completely unrelated`?

More information about the Haskell-Cafe mailing list