Re:The Tardis Monad
by chowells on Sunday April 03, 2022 @11:59PM
(#30903208)
It passes state backwards, so that changes are visible to previous reads. If this sounds like it has problems with causality - it can. You can end up in an infinite loop when a calculation ends up depending on its own result. But sometimes it solves a problem very neatly. Being able to express it is one of the advantages of making evaluation order independent of declaration order.
[ Parent
| on HN ]
There are no comments on this comment yet.