(define-syntax ->
(syntax-rules ()
[(-> expr) expr]
[(-> expr* ... (op args* ...))
(op args* ... (-> expr* ...))]
[(-> expr* ... op)
(op (-> expr* ...))]))
Small, but a great addition to the code, that improves readability in many places of the code. It doesn't have to be big or long, in order to not be a toy example, but actually be a useful macro.
Website: https://web.xiaolong-hosting.com
meet.hn/city/de-Berlin/Berlin
Interests: AI/ML, Education, Gaming, Mentorship, Open Source, Free Software, Philosophy, Computer Programming, Remote Work, Startups, Technology, Web Development, Writing
---