Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The following may help some fellow Lisp-heads understand some aspects of monads:

http://www.kylheku.com/cgit/lisp-snippets/tree/monads.lisp

Monads are developed starting with CLOS, then wrapping macros around them for doing monadic comprehensions. Finally, a monad-defining macro is introduced which generates the class and methods from a succinct syntax, and is used to write several monads, including a state transformer monad.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: