Surely not without whole-program analysis. eg: "test = get >>= put" get here has no one L-value unless you're lucky and its only used once?
-
-
Replying to @takeoutweight
@takeoutweight replace get with (\s -> (s,s)) and you’re fine1 reply 0 retweets 0 likes -
Replying to @beka_valentine
@psygnisfive Sure! You're aware of the proper denotation of the term "get" in this context. Same can be done for ML that's all I'm saying1 reply 0 retweets 0 likes -
Replying to @takeoutweight
@takeoutweight except that’s NOT a proper denotation. it’s not a denotation at all. its purely syntactic equality at work here1 reply 0 retweets 0 likes -
Replying to @beka_valentine
@psygnisfive This syntactic inlining works in ML too? replace a call to "myfunc(a : int ref) ... a := 3" with a := 3 (mod alpha renames)1 reply 0 retweets 0 likes -
Replying to @takeoutweight
@takeoutweight i’m not sure that’s analogous. the correct analogy should be to inline 3 in place of a1 reply 0 retweets 0 likes -
Replying to @beka_valentine
@psygnisfive No, you're not allowed to keep the L-var and R-vars distinct in Haskell but mix them up in ML. "get" evaluates to 3 sometimes2 replies 0 retweets 0 likes -
Replying to @takeoutweight
@takeoutweight@psygnisfive is twitter really the best place to convey subtle distinctions? :) just get on IRC, sort it out, and move on :P3 replies 0 retweets 1 like -
Replying to @copumpkin
@copumpkin@psygnisfive Yes of course! My apologies. :)2 replies 0 retweets 0 likes
@takeoutweight @copumpkin @psygnisfive I agree much better to sort these out on IRC.
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.