Is there any persistence solution for Common Lisp, such as Elephant, that allows function persistence? Currently my app stores an identifier on the db and later searches in a function table which it is, but this method does not allow dynamically created functions to be stored.
Is there any persistence solution for Common Lisp, such as Elephant, that allows function
Share
It’s not a database persistence mechanism, but most Common Lisps have a way of writing FASLs for all kinds of objects, including functions. For example:
You can write to a stream (here I used a file for convenience), so you can trivially capture those bytes and stuff them into a database if you wished.