Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the hu.dwim.util Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 13:48:45 2020 GMT+0.
• Introduction | What hu.dwim.util is all about | |
• Systems | The systems documentation | |
• Modules | The modules documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
http://dwim.hu/project/hu.dwim.util
Next: Modules, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The hu.dwim.util system |
Tamás Borbély <tomi.borbely@gmail.com>
Attila Lendvai <attila.lendvai@gmail.com>
Levente Mészáros <levente.meszaros@gmail.com>
BSD or Bugroff
Various utilities, this is the most basic system that only introduce a small number of external dependencies.
hu.dwim.asdf
hu.dwim.util.asd (file)
Modules are listed depth-first from the system components tree.
• The hu.dwim.util/source module | ||
• The hu.dwim.util/integration module |
Next: The hu․dwim․util/integration module, Previous: Modules, Up: Modules [Contents][Index]
hu.dwim.util (system)
source/
Previous: The hu․dwim․util/source module, Up: Modules [Contents][Index]
hu.dwim.util (system)
integration/
sbcl.lisp (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
Next: The hu․dwim․util/source/anaphora․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
hu.dwim.util.asd
hu.dwim.util (system)
Next: The hu․dwim․util/source/dynamic-context․lisp file, Previous: The hu․dwim․util․asd file, Up: Lisp files [Contents][Index]
package.lisp (file)
source (module)
source/anaphora.lisp
Next: The hu․dwim․util/source/error-handling-early․lisp file, Previous: The hu․dwim․util/source/anaphora․lisp file, Up: Lisp files [Contents][Index]
miscellaneous.lisp (file)
source (module)
source/dynamic-context.lisp
Next: The hu․dwim․util/source/generic-operator․lisp file, Previous: The hu․dwim․util/source/dynamic-context․lisp file, Up: Lisp files [Contents][Index]
source (module)
source/error-handling-early.lisp
Next: The hu․dwim․util/source/hash-table․lisp file, Previous: The hu․dwim․util/source/error-handling-early․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
source (module)
source/generic-operator.lisp
Next: The hu․dwim․util/source/integer-to-string․lisp file, Previous: The hu․dwim․util/source/generic-operator․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
source (module)
source/hash-table.lisp
Next: The hu․dwim․util/source/iterate․lisp file, Previous: The hu․dwim․util/source/hash-table․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
source (module)
source/integer-to-string.lisp
integer-to-string (function)
Next: The hu․dwim․util/source/number․lisp file, Previous: The hu․dwim․util/source/integer-to-string․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
source (module)
source/iterate.lisp
Next: The hu․dwim․util/source/package․lisp file, Previous: The hu․dwim․util/source/iterate․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
source (module)
source/number.lisp
Next: The hu․dwim․util/source/pattern-matcher․lisp file, Previous: The hu․dwim․util/source/number․lisp file, Up: Lisp files [Contents][Index]
source (module)
source/package.lisp
Next: The hu․dwim․util/source/place․lisp file, Previous: The hu․dwim․util/source/package․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
source (module)
source/pattern-matcher.lisp
Next: The hu․dwim․util/source/sequence․lisp file, Previous: The hu․dwim․util/source/pattern-matcher․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
source (module)
source/place.lisp
Next: The hu․dwim․util/source/string․lisp file, Previous: The hu․dwim․util/source/place․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
source (module)
source/sequence.lisp
Next: The hu․dwim․util/source/string-early․lisp file, Previous: The hu․dwim․util/source/sequence․lisp file, Up: Lisp files [Contents][Index]
miscellaneous.lisp (file)
source (module)
source/string.lisp
Next: The hu․dwim․util/source/threads-early․lisp file, Previous: The hu․dwim․util/source/string․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
source (module)
source/string-early.lisp
Next: The hu․dwim․util/source/type․lisp file, Previous: The hu․dwim․util/source/string-early․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
source (module)
source/threads-early.lisp
Next: The hu․dwim․util/source/miscellaneous․lisp file, Previous: The hu․dwim․util/source/threads-early․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
source (module)
source/type.lisp
Next: The hu․dwim․util/integration/sbcl․lisp file, Previous: The hu․dwim․util/source/type․lisp file, Up: Lisp files [Contents][Index]
source (module)
source/miscellaneous.lisp
Previous: The hu․dwim․util/source/miscellaneous․lisp file, Up: Lisp files [Contents][Index]
(and sbcl (not windows))
integration (module)
integration/sbcl.lisp
with-profiling (macro)
call-with-profiling (function)
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The hu.dwim.util package |
package.lisp (file)
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]
Next: Exported special variables, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
string.lisp (file)
string.lisp (file)
string.lisp (file)
type.lisp (file)
string.lisp (file)
miscellaneous.lisp (file)
type.lisp (file)
string.lisp (file)
string.lisp (file)
miscellaneous.lisp (file)
Next: Exported macros, Previous: Exported constants, Up: Exported definitions [Contents][Index]
The default, system wide, value for debug-on-error.
error-handling-early.lisp (file)
Next: Exported compiler macros, Previous: Exported special variables, Up: Exported definitions [Contents][Index]
Returns the INDEX’th bit of INTEGER as a boolean.
miscellaneous.lisp (file)
(setf bit-value) (setf expander)
miscellaneous.lisp (file)
bit-value (macro)
place.lisp (file)
Just like COND but VAR will be bound to the result of the condition in the clause when executing the body of the clause.
anaphora.lisp (file)
The purpose of this macro is to provide an easy way to access a group of related special variables. To do so, it generates with-NAME/in-NAME/current-NAME/has-NAME macros to access either a CLOS instance or a defstruct in a special variable. Optionally it can chain the "parent" bindings (use :CHAIN-PARENTS T and access with PARENT-CONTEXT-OF).
dynamic-context.lisp (file)
dynamic-context.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
sequence.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
anaphora.lisp (file)
error-handling-early.lisp (file)
error-handling-early.lisp (file)
place.lisp (file)
pattern-matcher.lisp (file)
anaphora.lisp (file)
miscellaneous.lisp (file)
string.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
anaphora.lisp (file)
miscellaneous.lisp (file)
error-handling-early.lisp (file)
Multiple binding version of with-error-log-decorator.
error-handling-early.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
sbcl.lisp (file)
string.lisp (file)
This is a debugging helper tool. Information provided here may show up in backtraces unless compiled without the debug helpers.
miscellaneous.lisp (file)
miscellaneous.lisp (file)
Next: Exported functions, Previous: Exported macros, Up: Exported definitions [Contents][Index]
string-early.lisp (file)
sequence.lisp (file)
sequence.lisp (file)
Next: Exported generic functions, Previous: Exported compiler macros, Up: Exported definitions [Contents][Index]
Returns true if every element in the LIST are equal to each other using TEST.
sequence.lisp (file)
A convenience version of ATOMIC-COUNTER/INCREMENT, mostly to keep the user code readable.
threads-early.lisp (file)
Increments a special place holding a machine word sized integer in a way that paralell CPU’s don’t step on each other’s toes when incrementing/decrementing it. These operation don’t expand to bignums, they just overflow/underflow when the high/low bound of the word sized integer is crossed.
threads-early.lisp (file)
See ATOMIC-COUNTER for details.
threads-early.lisp (file)
error-handling-early.lisp (file)
error-handling-early.lisp (file)
Collects elements from SEQUENCE for which the PREDICATE is true into a freshly allocated sequence.
sequence.lisp (file)
This function sets up the common readtable modifications we (http://dwim.hu) use in almost all of our projects. Some projects enable more, but this is available almost everywhere.
miscellaneous.lisp (file)
sequence.lisp (file)
miscellaneous.lisp (file)
type.lisp (file)
type.lisp (file)
miscellaneous.lisp (file)
The inverse of FULLY-QUALIFIED-SYMBOL-NAME. Does not INTERN but it does instantiate package-less symbols.
miscellaneous.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
string.lisp (file)
sequence.lisp (file)
miscellaneous.lisp (file)
Returns such a time measure that constantly grows (it’s a number in seconds, and it’s unaffected by setting the system clock).
miscellaneous.lisp (file)
miscellaneous.lisp (file)
hash-table.lisp (file)
Can be used to conditionalize at read-time like this: #+#.(hu.dwim.util:if-symbol-exists "PKG" "FOO")(pkg::foo ...)
miscellaneous.lisp (file)
integer-to-string.lisp (file)
string-early.lisp (file)
string.lisp (file)
string.lisp (file)
string.lisp (file)
threads-early.lisp (file)
string.lisp (file)
miscellaneous.lisp (file)
Depth-first, returns with (VALUES).
sequence.lisp (file)
error-handling-early.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
sequence.lisp (file)
sequence.lisp (file)
string.lisp (file)
sequence.lisp (file)
Match pattern against input in the context of the bindings
pattern-matcher.lisp (file)
error-handling-early.lisp (file)
number.lisp (file)
number.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
miscellaneous.lisp (file)
string.lisp (file)
hash-table.lisp (file)
string.lisp (file)
CL:ROUND rounds so that .5 is rounded up for odd and down for even quotients. ROUND* always rounds .5 up.
number.lisp (file)
By default sanitize for the printable ASCII range. Limits are inclusive.
string.lisp (file)
string.lisp (file)
Fast shrinking for simple vectors. It’s not thread-safe, use only on local vectors!
sequence.lisp (file)
Return a list of subsequences in seq delimited by delimiter.
If :remove-empty-subseqs is NIL, empty subsequences will be included in the result; otherwise they will be discarded. All other keywords work analogously to those for CL:SUBSTITUTE. In particular, the behaviour of :from-end is possibly different from other versions of this function; :from-end values of NIL and T are equivalent unless :count is supplied. The second return value is an index suitable as an argument to CL:SUBSEQ into the sequence indicating where processing stopped.
sequence.lisp (file)
sequence.lisp (file)
string-early.lisp (file)
string.lisp (file)
string.lisp (file)
string.lisp (file)
string.lisp (file)
sequence.lisp (file)
sequence.lisp (file)
Starting from LIST non-destructively replaces OLD with NEW.
sequence.lisp (file)
number.lisp (file)
Operates on the global binding of SYMBOL (as opposed to the thread local binding accessed by CL:SYMBOL-VALUE).
place.lisp (file)
sequence.lisp (file)
sequence.lisp (file)
type.lisp (file)
type.lisp (file)
string.lisp (file)
string.lisp (file)
string.lisp (file)
Next: Exported conditions, Previous: Exported functions, Up: Exported definitions [Contents][Index]
error-handling-early.lisp (file)
generic-operator.lisp (file)
generic-operator.lisp (file)
generic-operator.lisp (file)
generic-operator.lisp (file)
generic-operator.lisp (file)
generic-operator.lisp (file)
generic-operator.lisp (file)
generic-operator.lisp (file)
generic-operator.lisp (file)
hash-table.lisp (file)
Next: Exported structures, Previous: Exported generic functions, Up: Exported definitions [Contents][Index]
error-handling-early.lisp (file)
condition (condition)
:nested-condition
(quote nil)
nested-condition-of (generic function)
(setf nested-condition-of) (generic function)
Next: Exported types, Previous: Exported conditions, Up: Exported definitions [Contents][Index]
threads-early.lisp (file)
structure-object (structure)
(unsigned-byte 64)
0
ac/counter (function)
(setf ac/counter) (function)
Previous: Exported structures, Up: Exported definitions [Contents][Index]
type.lisp (file)
type.lisp (file)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal constants | ||
• Internal special variables | ||
• Internal functions | ||
• Internal generic functions |
Next: Internal special variables, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
integer-to-string.lisp (file)
pattern-matcher.lisp (file)
string.lisp (file)
integer-to-string.lisp (file)
pattern-matcher.lisp (file)
string.lisp (file)
Next: Internal functions, Previous: Internal constants, Up: Internal definitions [Contents][Index]
List of decorators that will be invoked when an error backtrace is logged. A decorator is a closure that will be FUNCALL’d and can print to *STANDARD-OUTPUT* (caret will not be on a new line when called).
error-handling-early.lisp (file)
Next: Internal generic functions, Previous: Internal special variables, Up: Internal definitions [Contents][Index]
integer-to-string.lisp (file)
threads-early.lisp (file)
threads-early.lisp (file)
Get the value part of a single binding.
pattern-matcher.lisp (file)
Get the variable part of a single binding.
pattern-matcher.lisp (file)
sbcl.lisp (file)
iterate.lisp (file)
iterate.lisp (file)
Sum into a variable when expr evaluates to non nil at least once, otherwise nil
iterate.lisp (file)
Return a list of leaves of tree satisfying predicate, with duplicates removed.
pattern-matcher.lisp (file)
threads-early.lisp (file)
Add a (var . value) pair to a binding list.
pattern-matcher.lisp (file)
Find the first position that pat1 could possibly match input, starting at position start. If pat1 is non-constant, then just return start.
pattern-matcher.lisp (file)
Find a (variable . value) pair in a binding list.
pattern-matcher.lisp (file)
Get the value part (for var) from a binding list.
pattern-matcher.lisp (file)
pattern-matcher.lisp (file)
Succeed if all the patterns match the input.
pattern-matcher.lisp (file)
Test an arbitrary expression involving variables. The pattern looks like ((?if code) . rest).
pattern-matcher.lisp (file)
Succeed and bind var if the input satisfies pred, where var-and-pred is the list (var pred).
pattern-matcher.lisp (file)
Succeed if none of the patterns match the input. This will never bind any variables.
pattern-matcher.lisp (file)
Succeed if any one of the patterns match the input.
pattern-matcher.lisp (file)
Does VAR match input? Uses (or updates) and returns bindings.
pattern-matcher.lisp (file)
pattern-matcher.lisp (file)
pattern-matcher.lisp (file)
Is x a variable (a symbol beginning with ‘?’)?
pattern-matcher.lisp (file)
Match the segment pattern ((?* var) . pat) against input.
pattern-matcher.lisp (file)
Match one or more elements of input.
pattern-matcher.lisp (file)
Get the segment-match function for x, if it is a symbol that has one.
pattern-matcher.lisp (file)
Match zero or one element of input.
pattern-matcher.lisp (file)
Call the right function for this kind of segment pattern.
pattern-matcher.lisp (file)
Is this a segment-matching pattern like ((?* var) . pat)?
pattern-matcher.lisp (file)
Get the single-match function for x, if it is a symbol that has one.
pattern-matcher.lisp (file)
Call the right function for this kind of single pattern.
pattern-matcher.lisp (file)
Is this a single-matching pattern?
E.g. (?is x predicate) (?and . patterns) (?or . patterns).
pattern-matcher.lisp (file)
Previous: Internal functions, Up: Internal definitions [Contents][Index]
error-handling-early.lisp (file)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | F H L M |
---|
Jump to: | F H L M |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | %
(
A B C D E F G H I J L M N O P Q R S T W |
---|
Jump to: | %
(
A B C D E F G H I J L M N O P Q R S T W |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | *
+
C N S |
---|
Jump to: | *
+
C N S |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | A C F H N P S T |
---|
Jump to: | A C F H N P S T |
---|