News for hackers. Stuff that matters.
Re:So You Want to Write Your Own Language (2014) by KirinDave on Friday May 19, 2017 @02:47PM (#14378348)
How did Haskell do IO effects before monadic computation? I ask because any such influence predates my exposure to the ecosystem.
Re:So You Want to Write Your Own Language (2014) by dietrichepp on Friday May 19, 2017 @04:11PM (#14378971)
Re:So You Want to Write Your Own Language (2014) by quchen on Saturday May 20, 2017 @05:02AM (#14381563)
Even without knowing about monads, you can simply implement »bindIO« and »pureIO«. That’s what most other languages do – they have bindMaybe, bindList, bindAsync, …