diff --git a/doc/Concept-index.html b/doc/Concept-index.html new file mode 100644 index 0000000..2d0f0a2 --- /dev/null +++ b/doc/Concept-index.html @@ -0,0 +1,96 @@ + + + +
+ ++Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
+| Jump to: | D + +F + +L + + |
|---|
| Jump to: | D + +F + +L + + |
|---|
+Previous: Variable index, Up: Indexes [Contents][Index]
+| Jump to: | C + +D + +I + +P + +S + + |
|---|
| Jump to: | C + +D + +I + +P + +S + + |
|---|
Definitions are sorted by export status, category, package, and then by +lexicographic order. +
+| • Exported definitions: | + | |
| • Internal definitions: | + |
+Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
+| • Exported macros: | + | |
| • Exported functions: | + | |
| • Exported generic functions: | + |
+Next: Exported generic functions, Previous: Exported macros, Up: Exported definitions [Contents][Index]
+A lens for updating a alist, discarding previous values +
lens.lisp (file) +
A lens for updating a hash-table, discarding previous values +
lens.lisp (file) +
A lens for updating a plist, preserving previous values +
lens.lisp (file) +
Given a lens, a callback and a record, apply the lens to the
+record, transform it by the callback and return copy of the record,
+updated to contain the result of the callback. This is the fundamental
+operation on a lens and SET and VIEW are implemented in terms of it.
+
A lens is any function of the form (lambda (fun) (lambda (rec) ...))
+that obeys the lens laws (where == is some reasonable equality
+operator):
+
(== (view lens (set lens value rec))
+ value)
+
+ (== (set lens (view lens rec) rec)
+ rec)
+
+ (== (set lens value2 (set lens value1 rec))
+ (set lens value2 rec))
+
The inner lambda returns a functor that determines the policy to be
+applied to the focused part. By default, this only uses IDENTITY- and
+CONSTANT- in order to implement the lens operations over, set and
+view.
+
If these conditions are met, (over (data-lens:<>1 lens1 lens2) ...) is
+equivalent to using lens2 to focus the part lens1 focuses: note that
+composition is "backwards" from what one might expect: this is
+because composition composes the wrapper lambdas and applies the
+lambda that actually pulls a value out of a record later.
+
lens.lisp (file) +
Given a lens, a value and a rec, immutably update the rec to
+contain the new value at the location focused by the lens.
+
lens.lisp (file) +
Given a lens and a rec, return the focused value +
lens.lisp (file) +
+Next: Exported generic functions, Previous: Exported macros, Up: Exported definitions [Contents][Index]
++Previous: Exported functions, Up: Exported definitions [Contents][Index]
++Next: Exported functions, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
+Files are sorted by type and then listed depth-first from the systems +components trees. +
+| • Lisp files: | + |
+Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
+| Jump to: | <
+
+=
+
+ +A + +C + +D + +E + +F + +G + +I + +J + +K + +L + +M + +O + +P + +R + +S + +T + +U + +V + +W + +Z + + |
|---|
| Jump to: | <
+
+=
+
+ +A + +C + +D + +E + +F + +G + +I + +J + +K + +L + +M + +O + +P + +R + +S + +T + +U + +V + +W + +Z + + |
|---|
+Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
++Previous: Definitions, Up: Top [Contents][Index]
+| • Concept index: | + | |
| • Function index: | + | |
| • Variable index: | + | |
| • Data type index: | + |
+Previous: Internal generic functions, Up: Internal definitions [Contents][Index]
+lens.lisp (file) +
standard-object (class) +
:value +
unconstant (generic function) +
lens.lisp (file) +
standard-object (class) +
:value +
unidentity (generic function) +
+Previous: Exported definitions, Up: Definitions [Contents][Index]
+| • Internal macros: | + | |
| • Internal functions: | + | |
| • Internal generic functions: | + | |
| • Internal classes: | + |
+Next: Internal generic functions, Previous: Internal macros, Up: Internal definitions [Contents][Index]
+A lens for updating a alist, preserving previous values +
lens.lisp (file) +
lens.lisp (file) +
lens.lisp (file) +
+Next: Internal classes, Previous: Internal functions, Up: Internal definitions [Contents][Index]
+lens.lisp (file) +
lens.lisp (file) +
automatically generated reader method +
lens.lisp (file) +
automatically generated reader method +
lens.lisp (file) +
+Next: Internal functions, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
+| • The data-lens.asd file: | + | |
| • The data-lens/lens.lisp file: | + |
+Next: Definitions, Previous: Files, Up: Top [Contents][Index]
+Packages are listed by definition order. +
+| • The data-lens package: | + | |
| • The data-lens.lenses package: | + |
The main system appears first, followed by any subsystem dependency. +
+| • The data-lens system: | + |
+Next: The data-lens<dot>lenses package, Previous: Packages, Up: Packages [Contents][Index]
+lens.lisp (file) +
common-lisp +
Edward Langley <el-cl@elangley.org> +
MIT +
Utilities for building data transormations from composable functions, modeled on lenses and transducers +
data-lens.asd (file) +
lens.lisp (file) +
+Previous: The data-lens<dot>asd file, Up: Lisp files [Contents][Index]
+data-lens (system) +
lens.lisp +
+Previous: The data-lens<dot>asd file, Up: Lisp files [Contents][Index]
++Next: The data-lens/lens<dot>lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
+data-lens.asd +
data-lens (system) +
+Previous: The data-lens package, Up: Packages [Contents][Index]
+lens.lisp (file) +
common-lisp +
+Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
+| Jump to: | %
+
+ +S + + |
|---|
| Index Entry | Section | ||
|---|---|---|---|
| | |||
| % | |||
%v: | Internal classes | ||
%v: | Internal classes | ||
| | |||
| S | |||
Slot, %v: | Internal classes | ||
Slot, %v: | Internal classes | ||
| | |||
| Jump to: | %
+
+ +S + + |
|---|