News for hackers. Stuff that matters.
Re:Non-determinism: a sublanguage rather than a monad by tathougies on Thursday September 21, 2017 @12:11AM (#15300543)
I don't understand this comment, almost every compiler and language in existence uses monads for computation. Monadic sequencing is the foundation of almost every CPU. Most languages are utterly dependent on them.

Haskell and other pure languages let you compute values independent of the monad its computed in, which is very useful. Of course, this is all conceptual, eventually everything is translated to underlying CPU monad and its implicit join.

Re:Non-determinism: a sublanguage rather than a monad by Veedrac on Thursday September 21, 2017 @08:09AM (#15302509)
> Monadic sequencing is the foundation of almost every CPU.

What on earth are you modelling a CPU as? What thing a CPU does corresponds to join?

Re:Non-determinism: a sublanguage rather than a monad by julian_1 on Thursday September 21, 2017 @02:50AM (#15301065)
Why join rather than bind?
Re:Non-determinism: a sublanguage rather than a monad by alphaalpha101 on Thursday September 21, 2017 @09:29PM (#15308756)
I'll point out again that this is very reminiscent of the OOP fad and "everything is an object". "Everything is a monad" is similar.

"It's all just the CPU monad" is just.. inane. It's like saying 'C functions are pure functions that implicitly take and return the world'. Maybe? But at that point 'pure' has lost all of its information content.