"If you were programming with functions your program wouldn't do anything." -- @djspiewak Isn't that early Haskell? #LambdaJam
-
-
Replying to @casio_juarez
@casio_juarez@djspiewak that is just wrong. You can program with only functions now in Haskell and it does things! Amazing.1 reply 0 retweets 3 likes -
Replying to @puffnfresh
@puffnfresh@casio_juarez Your functions aren't pure though if it's doing something. My assertion is a form of the old "box is getting warm"3 replies 0 retweets 2 likes -
Replying to @djspiewak
@djspiewak@casio_juarez no, my functions are pure. Yes, Haskell still performs effects.4 replies 0 retweets 1 like -
Replying to @puffnfresh
@puffnfresh@casio_juarez Without impurity, you have no input, no output, and no evaluation.7 replies 0 retweets 2 likes -
Replying to @djspiewak
@djspiewak@casio_juarez no, that's just wrong. IO is pure. There's no pretending.1 reply 0 retweets 1 like -
Replying to @puffnfresh
@puffnfresh@casio_juarez Side effects are impure by definition. Your function has a result outside of it's return value.1 reply 0 retweets 1 like -
Replying to @djspiewak
@djspiewak@casio_juarez yes, IO is not side-effecting. It's effecting.1 reply 0 retweets 1 like -
Replying to @puffnfresh
@puffnfresh@casio_juarez I have to know that IO represents an effectful container. If I didn’t know that, then I would see a and b as equal2 replies 0 retweets 1 like
@djspiewak @puffnfresh @casio_juarez Here's the fun bit. You can produce a pure IO program in #scala trivially. What now?
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.