4 ms·
One problem I had with Hy is that some codebases really depend a lot on annotations, which gets a bit messier in Lisp syntax.
by mhd 7y ago
One problem I had with Hy is that some codebases really depend a lot on annotations, which gets a bit messier in Lisp syntax.
- mistersys 7y agoIt'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.