[Haskell-cafe] "Assignment" in do blocks?
Kim-Ee Yeoh
ky3 at atamo.com
Wed Aug 26 16:09:20 UTC 2015
On Wed, Aug 26, 2015 at 7:25 PM, Anupam Jain <ajnsit at gmail.com> wrote:
> What I'd like to do instead is something like -
>
> let foo = bar foo
>
> But to Haskell this is a recursive definition instead of an update to
> the previous value.
>
This is a chestnut at least two years old. Last time I remember, the
discussion frothed under the rubric of "non-recursive let":
https://mail.haskell.org/pipermail/haskell-cafe/2013-July/109116.html
-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150826/99dea4eb/attachment.html>
More information about the Haskell-Cafe
mailing list