This is the com.gigamonkeys.utilities Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:06:33 2024 GMT+0.
com.gigamonkeys.utilities/com.gigamonkeys.utilities.asd
com.gigamonkeys.utilities/packages.lisp
com.gigamonkeys.utilities/heap.lisp
com.gigamonkeys.utilities/clos.lisp
com.gigamonkeys.utilities/date.lisp
com.gigamonkeys.utilities/files.lisp
com.gigamonkeys.utilities/lists.lisp
com.gigamonkeys.utilities/symbols.lisp
com.gigamonkeys.utilities/numbers.lisp
com.gigamonkeys.utilities/math.lisp
com.gigamonkeys.utilities/randomization.lisp
com.gigamonkeys.utilities/with-time.lisp
The main system appears first, followed by any subsystem dependency.
com.gigamonkeys.utilities
Peter Seibel’s collection of ’utilities’.
alexandria
(system).
split-sequence
(system).
packages.lisp
(file).
heap.lisp
(file).
clos.lisp
(file).
date.lisp
(file).
files.lisp
(file).
lists.lisp
(file).
symbols.lisp
(file).
numbers.lisp
(file).
math.lisp
(file).
randomization.lisp
(file).
with-time.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
com.gigamonkeys.utilities/com.gigamonkeys.utilities.asd
com.gigamonkeys.utilities/packages.lisp
com.gigamonkeys.utilities/heap.lisp
com.gigamonkeys.utilities/clos.lisp
com.gigamonkeys.utilities/date.lisp
com.gigamonkeys.utilities/files.lisp
com.gigamonkeys.utilities/lists.lisp
com.gigamonkeys.utilities/symbols.lisp
com.gigamonkeys.utilities/numbers.lisp
com.gigamonkeys.utilities/math.lisp
com.gigamonkeys.utilities/randomization.lisp
com.gigamonkeys.utilities/with-time.lisp
com.gigamonkeys.utilities/com.gigamonkeys.utilities.asd
com.gigamonkeys.utilities
(system).
com.gigamonkeys.utilities/packages.lisp
com.gigamonkeys.utilities
(system).
com.gigamonkeys.utilities/heap.lisp
packages.lisp
(file).
com.gigamonkeys.utilities
(system).
in-bounds-p
(function).
left-child-index
(function).
move-down
(function).
move-up
(function).
parent-index
(function).
right-child-index
(function).
test
(function).
com.gigamonkeys.utilities/clos.lisp
packages.lisp
(file).
com.gigamonkeys.utilities
(system).
with-slot-values
(macro).
com.gigamonkeys.utilities/date.lisp
packages.lisp
(file).
with-time.lisp
(file).
com.gigamonkeys.utilities
(system).
date
(generic function).
date
(class).
date+
(function).
date-
(function).
date->utc
(function).
date<
(function).
date<=
(function).
date=
(function).
date>
(function).
date>=
(function).
day
(reader method).
(setf day)
(writer method).
day-of-week
(function).
days-between
(function).
days-in-month
(function).
leap-year-p
(function).
make-date
(function).
midnight
(function).
month
(reader method).
(setf month)
(writer method).
next-day
(function).
next-year
(function).
parse-time
(function).
print-object
(method).
this-year
(function).
today
(function).
tomorrow
(function).
year
(reader method).
(setf year)
(writer method).
yesterday
(function).
yyyy-mm-dd
(function).
com.gigamonkeys.utilities/files.lisp
packages.lisp
(file).
com.gigamonkeys.utilities
(system).
copy-file
(function).
dump-file
(function).
file->lines
(function).
file->list
(function).
file->sexp
(function).
file-bytes
(function).
file-char-length
(function).
file-text
(function).
with-data-io-syntax
(macro).
with-data-to-file
(macro).
with-lock-file
(macro).
with-output-to-file
(macro).
+block-size+
(constant).
com.gigamonkeys.utilities/lists.lisp
packages.lisp
(file).
com.gigamonkeys.utilities
(system).
destructuring-data
(macro).
mklist
(function).
unlist
(function).
destructuring-pattern
(function).
run-length-encoding
(function).
com.gigamonkeys.utilities/symbols.lisp
packages.lisp
(file).
com.gigamonkeys.utilities
(system).
keywordize
(function).
com.gigamonkeys.utilities/numbers.lisp
packages.lisp
(file).
com.gigamonkeys.utilities
(system).
round-to
(function).
ceiling-unit-fraction
(function).
closest-unit-fraction
(function).
floor-unit-fraction
(function).
reverse-truncate-unit-fraction
(function).
round-unit-fraction
(function).
truncate-unit-fraction
(function).
com.gigamonkeys.utilities/math.lisp
packages.lisp
(file).
com.gigamonkeys.utilities
(system).
!
(function).
com.gigamonkeys.utilities/randomization.lisp
packages.lisp
(file).
com.gigamonkeys.utilities
(system).
nshuffle-vector
(function).
random-selection
(function).
shuffle-list
(function).
shuffle-vector
(function).
test-random
(function).
com.gigamonkeys.utilities/with-time.lisp
packages.lisp
(file).
com.gigamonkeys.utilities
(system).
iso
.
8601
(function).
date/time->utc
(function).
day-name
(function).
format-iso-8601-time
(function).
hh-mm
(function).
hh-mm-ss
(function).
human-time
(function).
iso-8601-time-zone
(function).
lisp-time-zone
(function).
make-time
(function).
merge-time
(function).
month-name
(function).
now
(function).
parse-date-string
(function).
parse-iso-8601-time
(function).
reverse-translate-zone
(function).
time->utc
(function).
unix-time
(function).
weekday-p
(function).
with-current-time
(macro).
with-time
(macro).
*cocoa-epoch*
(special variable).
*day-names*
(special variable).
*long-month-names*
(special variable).
*time-zones*
(special variable).
*unix-epoch*
(special variable).
epochal-milliseconds->lisp
(function).
epochal-seconds->lisp
(function).
from-javascript-time
(function).
from-unix-time
(function).
javascript-time
(function).
milliseconds-since-epoch
(function).
seconds-since-epoch
(function).
translate-zone
(function).
Packages are listed by definition order.
com.gigamonkeys.utilities
alexandria
.
common-lisp
.
split-sequence
.
!
(function).
copy-file
(function).
date
(generic function).
date
(class).
date+
(function).
date-
(function).
date->utc
(function).
date/time->utc
(function).
date<
(function).
date<=
(function).
date=
(function).
date>
(function).
date>=
(function).
day
(generic reader).
(setf day)
(generic writer).
day-name
(function).
day-of-week
(function).
days-between
(function).
days-in-month
(function).
destructuring-data
(macro).
dump-file
(function).
empty-heap
(function).
file->lines
(function).
file->list
(function).
file->sexp
(function).
file-bytes
(function).
file-char-length
(function).
file-text
(function).
format-iso-8601-time
(function).
heap-peek
(function).
heap-pop
(function).
heap-push
(function).
heap>
(generic function).
hh-mm
(function).
hh-mm-ss
(function).
human-time
(function).
iso-8601-time-zone
(function).
keywordize
(function).
leap-year-p
(function).
lisp-time-zone
(function).
make-date
(function).
make-heap
(function).
make-time
(function).
merge-time
(function).
midnight
(function).
mklist
(function).
month
(generic reader).
(setf month)
(generic writer).
month-name
(function).
next-day
(function).
next-year
(function).
now
(function).
nshuffle-vector
(function).
parse-date-string
(function).
parse-iso-8601-time
(function).
parse-time
(function).
random-selection
(function).
reverse-translate-zone
(function).
round-to
(function).
shuffle-list
(function).
shuffle-vector
(function).
this-year
(function).
time->utc
(function).
today
(function).
tomorrow
(function).
unix-time
(function).
unlist
(function).
weekday-p
(function).
with-current-time
(macro).
with-data-io-syntax
(macro).
with-data-to-file
(macro).
with-lock-file
(macro).
with-output-to-file
(macro).
with-slot-values
(macro).
with-time
(macro).
year
(generic reader).
(setf year)
(generic writer).
yesterday
(function).
yyyy-mm-dd
(function).
*cocoa-epoch*
(special variable).
*day-names*
(special variable).
*long-month-names*
(special variable).
*time-zones*
(special variable).
*unix-epoch*
(special variable).
+block-size+
(constant).
ceiling-unit-fraction
(function).
closest-unit-fraction
(function).
destructuring-pattern
(function).
epochal-milliseconds->lisp
(function).
epochal-seconds->lisp
(function).
floor-unit-fraction
(function).
from-javascript-time
(function).
from-unix-time
(function).
in-bounds-p
(function).
javascript-time
(function).
left-child-index
(function).
milliseconds-since-epoch
(function).
move-down
(function).
move-up
(function).
parent-index
(function).
reverse-truncate-unit-fraction
(function).
right-child-index
(function).
round-unit-fraction
(function).
run-length-encoding
(function).
seconds-since-epoch
(function).
test
(function).
test-random
(function).
translate-zone
(function).
truncate-unit-fraction
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Destructure a list as with DESTRUCTURING-BIND except anywhere in the pattern that a keyword appears, the same keyword must appear in the data.
Do i/o with standard io-syntax except with *print-case* bound to :downcase, *read-eval* bound to nil, and *package* the keyword package. Useful for more or less safely reading and writing data.
Write data to a file using data-io-syntax, appending to the file if it exists and creating it if necessary. If :ensure-directories is true, create parent directories too.
Simple minded technique for using the existence of a file as a locking mechanism to keep cooperative threads or processes from stomping on eachother.
Write to a file, creating if it does not exist and superseding if
it does. Returns the truename of the file created.
If :ensure-directories is true, create parent directories too.
Dump the contents of file to stream.
The length of the file in characters for a given external-format.
Formats a universal time TIME-VALUE in ISO 8601 format. If no time zone is provided the default timezone returned by DECODE-UNIVERSAL-TIME, adjusted by daylights savings time as appropriate, is used. The time zone information is included in the generated string unless OMIT-TIME-ZONE is true. (In general, if you want a shorter string, rather than omit the timezone altogether it is better to pass an explicit time-zone argument of 0 (GMT) which will add only a single ’Z’ to the string yet still produce an unambiguous date/time string.)
Return a keyword symbol with the name of the given string upcased.
‘x’ if it is a list, otherwise a singleton list containing ‘x’.
Shuffle a vector in place using Fisher-Yates algorithm.
Parse a time of the form H:MM:SS or MM:SS into a number of seconds.
Round to nearest ‘n’. (round-to x 1) === (round x)
Return a shuffled copy of list. Based on a post by Ben Rudiak-Gould in comp.lang.functional, Message-ID: <j7o400l04cdn4oaihgcu9ats5r0eel3hg0@4ax.com>
Return a shuffled copy of vector.
If ‘x’ is a singleton list, the single item; otherwise ‘x’.
Return nearest unit fraction greater than ‘ratio’.
Return nearest unit fraction to ‘ratio’.
Return nearest unit fraction less than ‘ratio’.
Javascript time is Unix time but in millisecond units.
Javascript time is Unix time but in millisecond units.
Return nearest unit fraction farther from zero than ‘ratio’.
Return unit fraction approximation to ‘ratio’.
Return a list of (item . count) cons cells representing the run-length encoding of the input list.
Return nearest unit fraction closer to zero than ‘ratio’.
Jump to: | !
(
8
C D E F G H I J K L M N P R S T U W Y |
---|
Jump to: | !
(
8
C D E F G H I J K L M N P R S T U W Y |
---|
Jump to: | *
+
C D M S Y |
---|
Jump to: | *
+
C D M S Y |
---|
Jump to: | C D F H I L M N P R S W |
---|
Jump to: | C D F H I L M N P R S W |
---|