@techtangents @kaleidic a "function" writes global mutable state; never reads, remains merilly memoizable: referencially transparent?
-
-
Replying to @malk_zameth
@malk_zameth@techtangents@kaleidic Not a function, therefore not even no.2 replies 0 retweets 0 likes -
Replying to @dibblego
@dibblego@techtangents@kaleidic that was my point! Hence "function" quoted. Code writing global state can be referentially transparent1 reply 0 retweets 1 like -
Replying to @malk_zameth
@malk_zameth@techtangents@kaleidic how can it be so?1 reply 0 retweets 0 likes -
Replying to @dibblego
@dibblego@techtangents@kaleidic int A=0; int I(x) {A=x; return x+1}. Reads no global state, yet writes. I(y) always returns same result2 replies 0 retweets 0 likes -
Replying to @malk_zameth
@malk_zameth@techtangents@kaleidic aha! No it doesn't return the same result. I agree RT is insufficient though (is a consequence).1 reply 0 retweets 0 likes -
Replying to @dibblego
@dibblego@techtangents@kaleidic IMHO The result is just what is returned. The ugly env havoc is no result.2 replies 0 retweets 0 likes -
Replying to @malk_zameth
@malk_zameth@techtangents@kaleidic Indeed it returns a different value. Imagine this fact in a ErikM voice (video?).@headinthebox1 reply 0 retweets 0 likes -
Replying to @dibblego
@dibblego@techtangents@kaleidic please elaborate further than "it does". I argue that being returned is just what the function evalues to1 reply 0 retweets 0 likes
@malk_zameth @techtangents @kaleidic Teaching FP course at the moment but Erik M words this fact well. Must be a video somewhere. Sorry.
-
-
Replying to @dibblego
@dibblego@techtangents@kaleidic dont't be. Thanks for the reference. I shall seek the video1 reply 0 retweets 0 likes -
Replying to @malk_zameth
@malk_zameth@techtangents@kaleidic There is no such video. It's a talk at JAOO in 2008 by@headinthebox. I shall impersonate and record.2 replies 0 retweets 1 like - Show replies
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.