▲ | ethagnawl 7 months ago | |
Have you looked into core.spec at all? It's been a while since I've even thought about it but I believe it's an interesting middle ground between Python's type hints and TypeScript static typing. It functions as sort of verifiable documentation (at runtime, if you wish) and can also be used to dynamically generate data (e.g. for testing). I miss Clojure. EDIT: Here's a great talk Rich Hickey gave about it at LispNYC, which I was lucky enough to attend. |