nasser / magic

Morgan And Grand Iron Clojure
http://nas.sr/magic/
365 stars 17 forks source link

Extend var and keyword lifting to deftype #234

Closed nasser closed 2 years ago

nasser commented 2 years ago

The lift-vars and lift-keywords spells only apply to functions, and not deftypes. They should be extended to deftypes so that defrecord instances enjoy the same optimizations.