News for hackers. Stuff that matters.
Re:Inventing Monads by AnimalMuppet on Saturday August 29, 2020 @06:27PM (#24319852)
Hmm. Your last line makes me think that they're, essentially, using monads to represent S-expressions. That seems... somewhat clumsier than just using S-expressions. You gain a really good type system, though.
Re:Inventing Monads by agumonkey on Saturday August 29, 2020 @06:59PM (#24320020)
I'm so not an expert I hope people don't read me too seriously. It's just my understanding of the FP world. A lot of time they will encode ideas in threaded closures that do nothing until they're consumed (the programmable semicolon doing the 'interpretative' part) which is a bit like a DSL tree and not so removed from a ~lisp.