HackerTrans
TopNewTrendsCommentsPastAskShowJobs

neukoelln

no profile record

comments

neukoelln
·8 tahun yang lalu·discuss
Do-notation is Haskell is purely syntactic sugar over function calls. You can remove do-notation from Haskell and still write the exact same programs (with monads and all). Also, monads are not about state anymore than classes in Java are about Toasters.
neukoelln
·8 tahun yang lalu·discuss
> Monads exist because because haskell people want to pretend that there is this ideal mathematical world where things dont change

Monads exist independently from Haskell and are not about "things that change".
neukoelln
·8 tahun yang lalu·discuss
What's imperative about monads? Or rather, what is not functional? Why should they be avoided?