aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/files.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-04-26 02:05:39 +0000
committerdos-reis <gdr@axiomatics.org>2010-04-26 02:05:39 +0000
commit95a8891a808572509f7449aa32022df42f8b7ab8 (patch)
treeb68be5fd0d707dfc45eb4db560775b1ca01849f3 /src/algebra/files.spad.pamphlet
parentf50462616a6319727efb50c267a105166f5275e8 (diff)
downloadopen-axiom-95a8891a808572509f7449aa32022df42f8b7ab8.tar.gz
* algebra/carten.spad.pamphlet (CartesianTensor): Satisfy
instantiation of Eltable. * algebra/clifford.spad.pamphlet (QuadraticForm): Likewise. * algebra/domain.spad.pamphlet (DomainTemplate): Likewise. * algebra/files.spad.pamphlet (Library): Likewise. * algebra/aggcat.spad.pamphlet (LinearAggregate): Extend instantiation of Eltable. * algebra/naalg.spad.pamphlet (FiniteRankNonAssociativeAlgebra): Likewise. * algebra/pscat.spad.pamphlet (UnivariatePowerSeriesCategory): Likewise. * algebra/sex.spad.pamphlet (SExpressionCategory): Likewise. * algebra/Makefile.pamphlet: Update rules.
Diffstat (limited to 'src/algebra/files.spad.pamphlet')
-rw-r--r--src/algebra/files.spad.pamphlet6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/algebra/files.spad.pamphlet b/src/algebra/files.spad.pamphlet
index 95d45b31..737b3720 100644
--- a/src/algebra/files.spad.pamphlet
+++ b/src/algebra/files.spad.pamphlet
@@ -425,17 +425,13 @@ KeyedAccessFile(Entry): KAFcategory == KAFcapsule where
++ References:
++ Description:
++ This domain provides a simple way to save values in files.
-Library(): TableAggregate(String, Any) with
+Library(): Join(TableAggregate(String, Any),Eltable(Symbol,Any)) with
library: FileName -> %
++ library(ln) creates a new library file.
pack!: % -> %
++ pack!(f) reorganizes the file f on disk to recover
++ unused space.
- elt : (%, Symbol) -> Any
- ++ elt(lib,k) or lib.k extracts the value corresponding to the key \spad{k}
- ++ from the library \spad{lib}.
-
setelt : (%, Symbol, Any) -> Any
++ \spad{lib.k := v} saves the value \spad{v} in the library
++ \spad{lib}. It can later be extracted using the key \spad{k}.