I wish to use clojure STM to store data for my application, but to have the the data structure invisibly persist the structure to a datastore. how can I extend the built in types with my own functionality so that the user of the API is unaware.
note that I wish to use all then standard clojure calls to manipulate the data structures, thereby making the caller of the API unaware. is this even possible?