2 ms·
Hum... Yes. Not exactly equivalent, but monad-based DSLs have almost the same power as Lisp macros. You can't escape the syntax restrictions, the same way you
by marcosdumay 7y ago
Hum... Yes.
Not exactly equivalent, but monad-based DSLs have almost the same power as Lisp macros.
You can't escape the syntax restrictions, the same way you can't escape Lisp's syntax restrictions. And it's a bonus for Lisp (in power) that its syntax is much more flexible. But in semantics they are equivalent.