Serializable functions with explicit, checked closures for Clojure.
Not being worked on right now
TODO
TODO
Inspired by Scala’s spores.
The record structure is somewhat based on the structure of datomic’s function which is also serializable.
- namespace qualify symbols
- NOTE: this seemed trickier than I initially thought… might have to skip this and run the risk of capturing the wrong function when eval-ing (eg. if
get
is defined in the eval-ing namespace) or eval the function in a different namespace
- NOTE: this seemed trickier than I initially thought… might have to skip this and run the risk of capturing the wrong function when eval-ing (eg. if
- midje tests
- make a data? function which checks deep ability to be converted to data
- figure out how to easily serialize/deserialize (transit?)
- generate all versions of invoke for function records w/ loop + eval
- better name (?)