Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the persistent-variables Reference Manual, version 1.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 05:33:47 2022 GMT+0.
Next: Systems, Previous: The persistent-variables Reference Manual, Up: The persistent-variables Reference Manual [Contents][Index]
Persistent variables can be serialized to and from streams.
They come with niceties, like restarts for failed serialization, late binding (loaded values are cached until the variable is defined), and a test suite.
Install Quick Lisp and then run:
If you have problems, see the support section, and you may want to run the tests.
As root,
Once the emerge is finished, the package can be loaded using ASDF:
If you have problems, see the support section, otherwise you may want to run the tests.
Once the installation is finished, the package is loadable using ASDF:
If you have problems, see the support section, otherwise you may want to run the tests.
In summary: Untar the .tar package and then symlink the .asd files into a place where ASDF can find them.
Untar the files where you want them to be. On windows download the .zip and unzip it instead, it's the same files.
ASDF could be looking anywhere -- it depends on your setup. Run this in your lisp repl to get a clue as to where ASDF is seeking libraries:
Symlink the .asd files to the source directory. If you use windows, these instructions on symlink alternatives apply to you.
Once the files are in place, the package can be loaded with ASDF by:
If you have problems, see the support section. If you don't have problems you may want to run the tests anyway, because you can.
Once the system is loaded, it can be tested with asdf.
This should display something like the following. There should be zero failures, if you have failures see the support section of this document.
You can find support on this libraries website and/or github repository. Or you can email Warren Wilkinson.
Persister is distributed under the LGPL2 License.
Next: Files, Previous: Introduction, Up: The persistent-variables Reference Manual [Contents][Index]
The main system appears first, followed by any subsystem dependency.
A library for persistent global variables.
Warren Wilkinson <warrenwilkinson@gmail.com>
lgpl2
1.0.0
persistent-variables.lisp (file).
Next: Packages, Previous: Systems, Up: The persistent-variables Reference Manual [Contents][Index]
Files are sorted by type and then listed depth-first from the systems components trees.
Next: persistent-variables/persistent-variables.lisp, Previous: Lisp, Up: Lisp [Contents][Index]
persistent-variables (system).
Previous: persistent-variables/persistent-variables.asd, Up: Lisp [Contents][Index]
persistent-variables (system).
Next: Definitions, Previous: Files, Up: The persistent-variables Reference Manual [Contents][Index]
Packages are listed by definition order.
pv
common-lisp.
Next: Indexes, Previous: Packages, Up: The persistent-variables Reference Manual [Contents][Index]
Definitions are sorted by export status, category, package, and then by lexicographic order.
Next: Internals, Previous: Definitions, Up: Definitions [Contents][Index]
Next: Macros, Previous: Public Interface, Up: Public Interface [Contents][Index]
Next: Ordinary functions, Previous: Special variables, Up: Public Interface [Contents][Index]
Define persistent variable, it’ll take it’s cached value if available.
Next: Generic functions, Previous: Macros, Up: Public Interface [Contents][Index]
Add a variable to persistence serialization.
Load variable bindings from stream and set persistent-variables..
Save all defpvar values to stream.
Remove a variable from persistence serialization.
Next: Standalone methods, Previous: Ordinary functions, Up: Public Interface [Contents][Index]
name.
text.
Next: Conditions, Previous: Generic functions, Up: Public Interface [Contents][Index]
Previous: Standalone methods, Up: Public Interface [Contents][Index]
error.
:expression
This slot is read-only.
Previous: Public Interface, Up: Definitions [Contents][Index]
Next: Ordinary functions, Previous: Internals, Up: Internals [Contents][Index]
Store loaded values that are missing their corresponding variables.
Previous: Special variables, Up: Internals [Contents][Index]
Attempt to read a saved value.
Previous: Definitions, Up: The persistent-variables Reference Manual [Contents][Index]
Jump to: | C D E F G M N P T U |
---|
Jump to: | C D E F G M N P T U |
---|
Next: Data types, Previous: Functions, Up: Indexes [Contents][Index]
Jump to: | *
E N S T |
---|
Jump to: | *
E N S T |
---|
Jump to: | C F P S U |
---|
Jump to: | C F P S U |
---|