News for hackers. Stuff that matters.
Re:A minimal blog engine written in Go, compatible with Ghos... by lorddoig on Saturday April 25, 2015 @04:03PM (#9439415)
I haven't written go in a while, but I recall being rather dissatisfied with the so-called 'if-hell'. I've been wondering lately - is there any reason why you couldn't/shouldn't use monads for this? Nothing obvious popping out of Google.

"gonads" would be my choice of name for this library.

Re:A minimal blog engine written in Go, compatible with Ghos... by rlp on Saturday April 25, 2015 @04:30PM (#9439480)
Love the name! But there's no way Go's feeble type system supports anything remotely like a Monad.
Re:A minimal blog engine written in Go, compatible with Ghos... by stcredzero on Saturday April 25, 2015 @05:56PM (#9439692)
Here's what GIlad Bracha might say about that:

http://www.infoq.com/presentations/functional-pros-cons?utm_...