News for hackers. Stuff that matters.
Re:Rest – A Haskell REST framework by dpeck on Monday June 30, 2014 @01:32PM (#7966314)
Isn't writing out to the network a side effect?

Edit: Haskell folks are a bit touchy :) Just a joke, I use Xmonad, I'm cool with y'all.

Re:Rest – A Haskell REST framework by dllthomas on Monday June 30, 2014 @01:55PM (#7966474)
Generally, it is the desired effect. In Haskell, it will be reified in an IO action, will appear in type signatures, and - as a value - can be manipulated and combined with similar values. It will only be a side effect if called with unsafePerformIO or similar, and the Haskell community will rightly condemn you for doing so (outside debugging) without a proof for why it's both okay and necessary in this circumstance - relying on side effects means you lose all kinds of guarantees that the type system usually affords you.
Re:Rest – A Haskell REST framework by arbsn on Monday June 30, 2014 @01:41PM (#7966395)
Yes. Haskell provides excellent facilities for cleanly managing side-effectful code, like the IO monad.
Re:Rest – A Haskell REST framework by dave809 on Monday June 30, 2014 @01:49PM (#7966441)
Managing side effects is one of Haskell's biggest selling points
Re:Rest – A Haskell REST framework by pestaa on Tuesday July 01, 2014 @12:42AM (#7969188)
It may have been an innocent question, but it implied too much and it implied myths.