Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the ia-hash-table Reference Manual, version 0.2.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 04:51:57 2022 GMT+0.
Next: Systems, Previous: The ia-hash-table Reference Manual, Up: The ia-hash-table Reference Manual [Contents][Index]
CL-USER> (defvar ht (ia-hash-table:make-ia-hash-table))
HT
CL-USER> (setf (gethash "qwe" ht) 1)
1
CL-USER> (gethash :qwe ht)
1
T
(enable-ia-syntax)
(defparameter response (alist-ia-hash-table '(("name" . "John Smith")
("age" . 34)
("city" . "New York")
("account" . (("checking" . 36223)
("saving" . 468300))))))
>> #Iresponse.name
"John Smith"
>> #Iresponse.account.saving
468300
>> #Iresponse.address
NIL
>> #Iresponse.address.state
The value NIL is not of type HASH-TABLE.
>> #Iresponse.address?.state
NIL
;; or even
(defparameter nil-response nil)
>> #Inil-response?.account.saving
NIL
Next: Modules, Previous: Introduction, Up: The ia-hash-table Reference Manual [Contents][Index]
The main system appears first, followed by any subsystem dependency.
Main purpose is to be able to use strings as real keys but do gethash with symbols and vice versa.
Can be useful for things like http headers parsing (no more intern leaks), json apis with/without https://github.com/AccelerationNet/access.
Only tested on SBCL. Expected to work on Allegro, CCL and LW.
Also provides nil safe dot syntax
Ilya Khaprov <ilya.kharpov@publitechs.com>
MIT
0.2.1
src (module).
Next: Files, Previous: Systems, Up: The ia-hash-table Reference Manual [Contents][Index]
Modules are listed depth-first from the system components tree.
ia-hash-table (system).
Next: Packages, Previous: Modules, Up: The ia-hash-table Reference Manual [Contents][Index]
Files are sorted by type and then listed depth-first from the systems components trees.
Next: ia-hash-table/src/package.lisp, Previous: Lisp, Up: Lisp [Contents][Index]
ia-hash-table (system).
Next: ia-hash-table/src/ia-hash-table.lisp, Previous: ia-hash-table/ia-hash-table.asd, Up: Lisp [Contents][Index]
src (module).
Next: ia-hash-table/src/reader.lisp, Previous: ia-hash-table/src/package.lisp, Up: Lisp [Contents][Index]
package.lisp (file).
src (module).
Previous: ia-hash-table/src/ia-hash-table.lisp, Up: Lisp [Contents][Index]
ia-hash-table.lisp (file).
src (module).
Next: Definitions, Previous: Files, Up: The ia-hash-table Reference Manual [Contents][Index]
Packages are listed by definition order.
common-lisp.
Next: Indexes, Previous: Packages, Up: The ia-hash-table 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: Ordinary functions, Previous: Public Interface, Up: Public Interface [Contents][Index]
Previous: Macros, Up: Public Interface [Contents][Index]
Adopted version of alexandria:alist-hash-table
Adopted version of alexandria:plist-hash-table
Previous: Public Interface, Up: Definitions [Contents][Index]
Next: Ordinary functions, Previous: Internals, Up: Internals [Contents][Index]
A stack which holds the previous readtables that have been pushed here by ENABLE-IA-SYNTAX.
Next: Types, Previous: Special variables, Up: Internals [Contents][Index]
Internal function used to restore previous readtable.
Previous: Ordinary functions, Up: Internals [Contents][Index]
Previous: Definitions, Up: The ia-hash-table Reference Manual [Contents][Index]
Jump to: | %
A D E F G H I L M P S |
---|
Jump to: | %
A D E F G H I L M P S |
---|
Next: Data types, Previous: Functions, Up: Indexes [Contents][Index]
Jump to: | *
S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
* | |||
*previous-readtables* : | Private special variables | ||
| |||
S | |||
Special Variable, *previous-readtables* : | Private special variables | ||
|
Jump to: | *
S |
---|
Jump to: | A F I M P R S T |
---|
Jump to: | A F I M P R S T |
---|