@dibblego OK np. Just saying monads were intro'd to CS by Moggi precisely to give denotational semantics (+ eq reasoning) to mutable refs.
@takeoutweight State is a tool that assists in preservation of equational reasoning (purity). ML refs encourage the opposite.
-
-
@dibblego You cant replace an occurrence of "get" with anything in Haskell, neither can you replace !x in ML. I think we agree on that tho? -
@takeoutweight Yes I definitely'replace that expression with its value for State (purity) unlike ML refs. Haskell is irrelevant here.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.