13 ms·
It's a lisp, so you can build your own syntax, the messiness of annotatations is only limited by your creativity. (defna add [a :: int b :: int] (+ a b)) ht
by mistersys 7y ago
It's a lisp, so you can build your own syntax, the messiness of annotatations is only limited by your creativity.
(defna add [a :: int b :: int] (+ a b))
https://pastebin.com/5kpTBiz2 https://pastebin.com/5kpTBiz2
You could expand that macro to support decorators as well via extra arguments before the args list, you'd be in great shape.