HNHacker News
TopNewBestAskShowJobs

whatajoke

121 karma · joined November 2, 2009

submissionscomments
whatajoke··on What a Monad is not
Monads can do more than that, though; nondeterministic computation comes to mind, as does simple error handling through the Maybe monad, and you can do continuations through a monad.

Please correct me if I am wrong, but all the examples you cite are about hiding mutable state using monads.

1. Non deterministic computation -> remembering last value of m and n. I assume you are talikng pseudo random generators here.

2. error handling with Maybe -> remembering last value or Nothing. Almost like passing along a single error code variable.

3. continuations -> Remember what state your computation variable and PC were last at.

If I am seeing this wrong, then I will be happy to take a second look at monads :)

whatajoke··on What a Monad is not
State is nothing special, except that it is something made special by most popular programming languages. (Where it causes lots of fun problems.)

With very elementary design decisions, mutable state is very much manageable in the most popular languages.

Hiding state maintenance through a monad solves very little, while throwing performance out of the window. Yeah, you can get performance out of a lazy functional language, but the hoops you have to jump through are not worth it.

Ocaml is eager functional, and IMHO is a very nice compromise between expressibility and purity. Now if only its type system was as capable as haskell, and only if it had multi processor support :(

whatajoke··on Maybe it's time for personal servers?
Doesn't Opera unite fit the bill here?

http://unite.opera.com/

whatajoke··on Early adopters bloodied by Ubuntu's Karmic Koala
The entire article mentions only one bug, which is caused by proprietary drivers. Seems more like FUD to me. And yes I had a smooth upgrade to Karmic-amd64 with proprietary ATI drivers.
← PreviousPage 2 of 2