The cl-stdutils Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-stdutils Reference Manual

This is the cl-stdutils Reference Manual, version 1.0, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 03:34:00 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

STDUTILS

Yet Another Common Lisp Standard Utilities Library

This is my home grown standard utilities library on which langutils and the registry projects depend so I've made it publically available. I'm sure documentation would be helpful and if there is demand someday I may generate auto-docs.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 stdutils

Author

Ian Eslick <eslick@media.mit.edu>

License

BSD

Description

Standard Utilities

Version

1.0

Dependencies
Source

stdutils.asd (file)

Component

src (module)


Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Previous: , Up: Modules   [Contents][Index]

3.1 stdutils/src

Parent

stdutils (system)

Location

src/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 stdutils.asd

Location

stdutils.asd

Systems

stdutils (system)

Packages

stdutils.system


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 stdutils/src/package.lisp

Parent

src (module)

Location

src/package.lisp

Packages

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 stdutils/src/system.lisp

Dependency

package.lisp (file)

Parent

src (module)

Location

src/system.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 stdutils/src/lists.lisp

Dependency

system.lisp (file)

Parent

src (module)

Location

src/lists.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 stdutils/src/macros.lisp

Dependency

system.lisp (file)

Parent

src (module)

Location

src/macros.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 stdutils/src/iteration.lisp

Dependency

system.lisp (file)

Parent

src (module)

Location

src/iteration.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.7 stdutils/src/conditionals.lisp

Dependency

lists.lisp (file)

Parent

src (module)

Location

src/conditionals.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.8 stdutils/src/map.lisp

Dependency

iteration.lisp (file)

Parent

src (module)

Location

src/map.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.9 stdutils/src/iteration2.lisp

Dependency

map.lisp (file)

Parent

src (module)

Location

src/iteration2.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.10 stdutils/src/shorthand.lisp

Dependencies
Parent

src (module)

Location

src/shorthand.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.11 stdutils/src/functions.lisp

Dependency

shorthand.lisp (file)

Parent

src (module)

Location

src/functions.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.12 stdutils/src/math.lisp

Dependency

functions.lisp (file)

Parent

src (module)

Location

src/math.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.13 stdutils/src/setf.lisp

Dependency

functions.lisp (file)

Parent

src (module)

Location

src/setf.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.14 stdutils/src/clos.lisp

Dependency

functions.lisp (file)

Parent

src (module)

Location

src/clos.lisp

Exported Definitions
Internal Definitions

parse-method-spec (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.15 stdutils/src/hashutil.lisp

Dependency

shorthand.lisp (file)

Parent

src (module)

Location

src/hashutil.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.16 stdutils/src/file.lisp

Dependency

shorthand.lisp (file)

Parent

src (module)

Location

src/file.lisp

Exported Definitions
Internal Definitions

split-file (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.17 stdutils/src/arrays.lisp

Dependency

shorthand.lisp (file)

Parent

src (module)

Location

src/arrays.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.18 stdutils/src/random.lisp

Parent

src (module)

Location

src/random.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.19 stdutils/src/regex.lisp

Dependencies
Parent

src (module)

Location

src/regex.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.20 stdutils/src/strings.lisp

Dependency

regex.lisp (file)

Parent

src (module)

Location

src/strings.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.21 stdutils/src/split-sequence.lisp

Parent

src (module)

Location

src/split-sequence.lisp

Packages

split-sequence

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.22 stdutils/src/ifstar.lisp

Dependency

package.lisp (file)

Parent

src (module)

Location

src/ifstar.lisp

Exported Definitions

if* (macro)

Internal Definitions

if*-keyword-list (special variable)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.23 stdutils/src/tokenizer.lisp

Dependency

lists.lisp (file)

Parent

src (module)

Location

src/tokenizer.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.24 stdutils/src/match.lisp

Dependency

shorthand.lisp (file)

Parent

src (module)

Location

src/match.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.25 stdutils/src/time.lisp

Dependency

shorthand.lisp (file)

Parent

src (module)

Location

src/time.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.26 stdutils/src/prof.lisp

Dependency

shorthand.lisp (file)

Parent

src (module)

Location

src/prof.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.27 stdutils/src/matrix.lisp

Parent

src (module)

Location

src/matrix.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.28 stdutils/src/queue.lisp

Dependency

shorthand.lisp (file)

Parent

src (module)

Location

src/queue.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.29 stdutils/src/cache.lisp

Dependencies
Parent

src (module)

Location

src/cache.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.30 stdutils/src/collections.lisp

Dependencies
Parent

src (module)

Location

src/collections.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.31 stdutils/src/wordseq.lisp

Dependency

shorthand.lisp (file)

Parent

src (module)

Location

src/wordseq.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.32 stdutils/src/gds.lisp

Dependencies
Parent

src (module)

Location

src/gds.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.33 stdutils/src/table.lisp

Dependency

gds.lisp (file)

Parent

src (module)

Location

src/table.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.34 stdutils/src/iterator.lisp

Dependency

table.lisp (file)

Parent

src (module)

Location

src/iterator.lisp

Exported Definitions

iterator (class)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.35 stdutils/src/assoc-table.lisp

Dependency

iterator.lisp (file)

Parent

src (module)

Location

src/assoc-table.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.36 stdutils/src/hashed-table.lisp

Dependency

assoc-table.lisp (file)

Parent

src (module)

Location

src/hashed-table.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.37 stdutils/src/vector-keyed-table.lisp

Dependency

hashed-table.lisp (file)

Parent

src (module)

Location

src/vector-keyed-table.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 stdutils.system

Source

stdutils.asd

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

5.2 stdutils.gds

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.3 stdutils

Source

package.lisp (file)

Use List
Used By List

stdutils.gds

Exported Definitions
Internal Definitions

Previous: , Up: Packages   [Contents][Index]

5.4 split-sequence

The SPLIT-SEQUENCE package provides functionality for Common Lisp sequences analagous to Perl’s split operator.

Source

split-sequence.lisp (file)

Nickname

partition

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: *default-day*

Function which returns the day of month to assume when there is no day of month. The default value of *DEFAULT-DAY* is a function which returns today’s day of month.

Package

stdutils

Source

time.lisp (file)

Special Variable: *default-hour*

Function which returns the hour to assume when there is no hour. The default value of *DEFAULT-HOUR* is a function which returns noon, which is 12.

Package

stdutils

Source

time.lisp (file)

Special Variable: *default-language*
Package

stdutils

Source

time.lisp (file)

Special Variable: *default-minute*
Package

stdutils

Source

time.lisp (file)

Special Variable: *default-month*

Function which returns the month to assume when there is no month. The default value of *DEFAULT-MONTH* is a function which returns the current month.

Package

stdutils

Source

time.lisp (file)

Special Variable: *default-recognizers*
Package

stdutils

Source

time.lisp (file)

Special Variable: *default-second*
Package

stdutils

Source

time.lisp (file)

Special Variable: *default-year*

Function which returns the year to assume when there is no year. The default value of *DEFAULT-YEAR* is a function which returns the current year.

Package

stdutils

Source

time.lisp (file)

Special Variable: *default-zone*
Package

stdutils

Source

time.lisp (file)

Special Variable: *format-time-date*

Format list for FORMAT-TIME to print a date in a compact, human readable format. It’s the day-of-month, abbreviated month name, & the year.

Package

stdutils

Source

time.lisp (file)

Special Variable: *format-time-full*

It’s like ISO format except that it’s supposed to be readable by humans.

Package

stdutils

Source

time.lisp (file)

Special Variable: *format-time-iso8601-long*

Format list for FORMAT-TIME to print a date-&-time in the verbose ISO 8061 format. It’s verbose because it separates the fields of the date with -, fields of the time with :, & the date from the time with T. So it is arguably human-readable.

Package

stdutils

Source

time.lisp (file)

Special Variable: *format-time-iso8601-short*

Format list for FORMAT-TIME to print a date-&-time in the compact ISO 8061 format. It’s compact because it’s all numbers (as required by the ISO format), & there are no field separators except for the T between the date & the time.

Package

stdutils

Source

time.lisp (file)

Special Variable: *format-time-time*

Format list for FORMAT-TIME to print a human-readable time. The hours are on a 24-hour clock.

Package

stdutils

Source

time.lisp (file)

Special Variable: self
Package

stdutils

Source

conditionals.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Macros

Macro: aand &rest ARGS

Makes the prior element in an and available to the next

Package

stdutils

Source

conditionals.lisp (file)

Macro: aarec REC &optional BASE

Anaphoric recursion template over arrays

Package

stdutils

Source

lists.lisp (file)

Macro: abbrev SHORT LONG

Create an abbreviation for an existing function or macro via macro instantiation

Package

stdutils

Source

shorthand.lisp (file)

Macro: abbrevs &body NAMES

Map abbrev over a list of name pairs: (ab nam ab nam ...)

Package

stdutils

Source

shorthand.lisp (file)

Macro: ablock TAG &rest ARGS
Package

stdutils

Source

functions.lisp (file)

Macro: accumulate FN &rest LISTS
Package

stdutils

Source

map.lisp (file)

Macro: accumulate-init FN INIT &rest LISTS
Package

stdutils

Source

map.lisp (file)

Macro: accumulate-int FN &rest LISTS
Package

stdutils

Source

map.lisp (file)

Macro: acond &rest CLAUSES

Anaphoric cond

Package

stdutils

Source

conditionals.lisp (file)

Macro: acond-mv &rest CLAUSES

If the second value of a multiple-value return from a clause is true, it is bound to the primary value

Package

stdutils

Source

conditionals.lisp (file)

Macro: acond2 &rest CLAUSES
Package

stdutils

Source

conditionals.lisp (file)

Macro: acond2-mv &rest CLAUSES

If the primary value of a multiple-value return from a clause is true, ’it’ is bound to the second value

Package

stdutils

Source

conditionals.lisp (file)

Macro: aif TEST-FORM THEN-FORM &optional ELSE-FORM
Package

stdutils

Source

conditionals.lisp (file)

Macro: aif-ret TEST-FORM &body ELSE-FORM
Package

stdutils

Source

conditionals.lisp (file)

Macro: aif2 TEST &optional THEN ELSE
Package

stdutils

Source

conditionals.lisp (file)

Macro: aif2-ret TEST-FORM &rest ELSE-FORM
Package

stdutils

Source

conditionals.lisp (file)

Macro: aif2t TEST &optional THEN ELSE
Package

stdutils

Source

conditionals.lisp (file)

Macro: alambda ARGS &body BODY

Allow recursive calls using captured variable ’self’

Package

stdutils

Source

conditionals.lisp (file)

Macro: alist-bind NAMES ALIST &body BODY

Bind names to associated values in assoc-list or nil

Package

stdutils

Source

shorthand.lisp (file)

Macro: alrec REC &optional BASE

Anaphoric recursion templates

Package

stdutils

Source

lists.lisp (file)

Macro: aprog1 RESULT-FORM &body BODY
Package

stdutils

Source

conditionals.lisp (file)

Macro: apush KEY VALUE PLACE
Package

stdutils

Source

lists.lisp (file)

Macro: apushnew KEY VALUE PLACE
Package

stdutils

Source

lists.lisp (file)

Macro: as-functions NAMES &body BODY
Package

stdutils

Source

macros.lisp (file)

Macro: asetf ACCESSOR-EXP NEW-VAL-EXPR
Package

stdutils

Source

setf.lisp (file)

Macro: assoc-del VALUE PLACE
Package

stdutils

Source

lists.lisp (file)

Macro: assoc-setf PLACE KEY VALUE &optional TEST
Package

stdutils

Source

lists.lisp (file)

Macro: atrec REC &optional BASE
Package

stdutils

Source

lists.lisp (file)

Macro: awhen TEST-FORM &body BODY
Package

stdutils

Source

conditionals.lisp (file)

Macro: awhen-null TEST-FORM DEFAULT-VALUE
Package

stdutils

Source

conditionals.lisp (file)

Macro: awhen0 TEST-FORM WHEN-ZERO-FORM
Package

stdutils

Source

conditionals.lisp (file)

Macro: awhen2 TEST &body BODY
Package

stdutils

Source

conditionals.lisp (file)

Macro: awhen2t TEST &body BODY
Package

stdutils

Source

conditionals.lisp (file)

Macro: awhile EXPR &body BODY
Package

stdutils

Source

conditionals.lisp (file)

Macro: awhile2 TEST &body BODY
Package

stdutils

Source

conditionals.lisp (file)

Macro: case-match-bind DATA &rest CASES

Produces an expression that when evaluated takes the value of ’data’ and tries to perform a match using the static patterns in the car of each case in cases. If the pattern matches, it’s variable names are bound to the matched values in the environment of the body expression of that case.

(setf var ’(1 2 3))
(case-match-bind var ((?A) ?A) ((?A ?B) ?B)) ==> 2

(setf pat1 ’(?A))
(case-match-bind var (pat1 ?A) ((?A ?B) ?B)) ==> error

Package

stdutils

Source

match.lisp (file)

Macro: clear-tag PLACE TAG
Package

stdutils

Source

setf.lisp (file)

Macro: copy-slots (SRC TARGET) &rest ALIST
Package

stdutils

Source

clos.lisp (file)

Macro: create-object-cache &rest REST &key TYPE SIZE TEST &allow-other-keys
Package

stdutils

Source

cache.lisp (file)

Macro: create-set-method-inst OP-TYPE NAME ARGS LIST-FORM HASH-FORM
Package

stdutils

Source

collections.lisp (file)

Macro: dbind BINDS CALL &body BODY
Package

stdutils

Source

shorthand.lisp (file)

Macro: def-simple-accessor NAME ARGS BODY
Package

stdutils

Source

macros.lisp (file)

Macro: defanaph NAME &optional CALLS
Package

stdutils

Source

iteration2.lisp (file)

Macro: defclass+ NAME SUPERCLASSES SLOTS &rest OPTIONS
Package

stdutils

Source

clos.lisp (file)

Macro: defclass+-exported NAME SUPERCLASSES SLOTS &rest OPTIONS
Package

stdutils

Source

clos.lisp (file)

Macro: defclass-exported CLASSNAME SUPERCLASSES SLOTS &rest OPTIONS

Exports the class name and all defined accessors using reflection

Package

stdutils

Source

system.lisp (file)

Macro: defconstant-exported NAME &rest ARGS
Package

stdutils

Source

system.lisp (file)

Macro: defexport DEFDEF NAME &rest REST
Package

stdutils

Source

system.lisp (file)

Macro: defgeneric-exported NAME LAMBDA-LIST &rest ARGS
Package

stdutils

Source

system.lisp (file)

Macro: defmacro-exported NAME PATTERN &body BODY
Package

stdutils

Source

system.lisp (file)

Macro: defmethod+ TYPE METHOD ARGS &rest BODY
Package

stdutils

Source

clos.lisp (file)

Macro: defmethod+-exported TYPE METHOD ARGS &rest BODY
Package

stdutils

Source

clos.lisp (file)

Macro: defmethod-exported METHOD-SPEC LAMBDA-LIST &body BODY
Package

stdutils

Source

system.lisp (file)

Macro: defprotocol NAME OPLIST &optional ARGS
Package

stdutils.gds

Source

gds.lisp (file)

Macro: defsetf-exported NAME FUNCTION
Package

stdutils

Source

system.lisp (file)

Macro: defstruct-exported STRUCTNAME SUPERCLASSES SLOTS &rest OPTIONS

Exports the structure and related accessors using reflection

Package

stdutils

Source

system.lisp (file)

Macro: defsubst FUNCTION LAMBDA-LIST &body BODY
Package

stdutils

Source

system.lisp (file)

Macro: defsubst-exported FUNCTION LAMBDA-LIST &body BODY
Package

stdutils

Source

system.lisp (file)

Macro: deftaglist NAME &key TEST

A def macro form for the defun make-taglist

Package

stdutils

Source

collections.lisp (file)

Macro: defun-exported FUNCTION-SPEC LAMBDA-LIST &body BODY
Package

stdutils

Source

system.lisp (file)

Macro: defun-memo FN ARGS &body BODY

Define a memoized function

Package

stdutils

Source

functions.lisp (file)

Macro: defun-memo1 FN ARGS &body BODY

Define a memoized function

Package

stdutils

Source

functions.lisp (file)

Macro: defun-rec NAME PARMS &body BODY
Package

stdutils

Source

functions.lisp (file)

Macro: defvar-exported NAME &rest ARGS
Package

stdutils

Source

system.lisp (file)

Macro: dis1 ARGS &body BODY
Package

stdutils

Source

macros.lisp (file)

Macro: do-collect-vector-matches (START-LABEL END-LABEL PATTERN) (&rest VECTORS) &rest BODY

The pattern must be state, ie a quoted list or a previously-defined variable

Package

stdutils

Source

match.lisp (file)

Macro: do-contentful-lines (LABEL STREAM &key COUNT) &rest BODY
Package

stdutils

Source

file.lisp (file)

Macro: do-count-contentful-lines (LINE-VAR COUNT-VAR STREAM) &rest BODY
Package

stdutils

Source

file.lisp (file)

Macro: do-file FILENAME &body BODY
Package

stdutils

Source

file.lisp (file)

Macro: do-hash (K V HASH) &body BODY
Package

stdutils

Source

hashutil.lisp (file)

Macro: do-iterator (VAR STRUCT) &body BODY
Package

stdutils.gds

Source

gds.lisp (file)

Macro: do-matrix (ROW COL MATRIX) &body BODY
Package

stdutils

Source

matrix.lisp (file)

Macro: do-matrix-columns (COL MATRIX) &body BODY
Package

stdutils

Source

matrix.lisp (file)

Macro: do-matrix-rows (ROW MATRIX) &body BODY
Package

stdutils

Source

matrix.lisp (file)

Macro: do-stream-lines (LABEL STREAM) &rest BODY
Package

stdutils

Source

file.lisp (file)

Macro: do-table (KEY VALUE TABLE) &body BODY
Package

stdutils.gds

Source

table.lisp (file)

Macro: do-tuples/c PARMS SOURCE &body BODY
Package

stdutils

Source

iteration2.lisp (file)

Macro: do-tuples/o PARMS SOURCE &body BODY
Package

stdutils

Source

iteration2.lisp (file)

Macro: dohash (ELEM HASH) &body BODY
Package

stdutils

Source

hashutil.lisp (file)

Macro: dolist-times (VAR LIST TIMES &optional RESULT) &rest BODY

Iterate over a list up to ’times’ times

Package

stdutils

Source

iteration.lisp (file)

Macro: doseq (VAR SEQ &optional RESULT) &rest BODY

Iterate over a sequence assigning var the value of each subsequent element

Package

stdutils

Source

iteration.lisp (file)

Macro: dotimes-unrolled (VAR INIT COUNTFORM BLOCKING &optional RESULTFORM) &body BODY

An unrolling macro that speeds up do loops by writing an unrolled version, blocking determines the unrolled block size in original loop statements.

Package

stdutils

Source

iteration.lisp (file)

Macro: dowords (VAR WSEQ &optional RESULT) &rest BODY

(dowords (var result) seq &rest body) This macro iterates through the string representation of the words in wseq.

Package

stdutils

Source

wordseq.lisp (file)

Macro: ensure-a-value PLACE VALUE

Ensures that place, if nil, has value

Package

stdutils

Source

setf.lisp (file)

Macro: error-on-null EXP &rest ERROR-ARGS
Package

stdutils

Source

conditionals.lisp (file)

Macro: filter-if FF LST &key KEY

Remove the elements from the list that satisfy predicate. Filter here is in the signal processing sense, filter away

Package

stdutils

Source

lists.lisp (file)

Macro: for (VAR START STOP) &body BODY
Package

stdutils

Source

iteration.lisp (file)

Macro: gen-everyp PRED

Creates a predicate that ensures pred is satisfied for all elements in a list

Package

stdutils

Source

conditionals.lisp (file)

Macro: has-key? HASH KEY
Package

stdutils

Source

hashutil.lisp (file)

Macro: has-tag PLACE TAG
Package

stdutils

Source

setf.lisp (file)

Macro: hash &key TEST REHASH-SIZE KEYVALS HASH
Package

stdutils

Source

hashutil.lisp (file)

Macro: hash-clear HASH
Package

stdutils

Source

hashutil.lisp (file)

Macro: hash-clr HASH
Package

stdutils

Source

hashutil.lisp (file)

Macro: hash-get HASH KEY
Package

stdutils

Source

hashutil.lisp (file)

Macro: hash-mapulate HASH F VALUES
Package

stdutils

Source

hashutil.lisp (file)

Macro: hash-mapulate-value HASH F KEYS
Package

stdutils

Source

hashutil.lisp (file)

Macro: hash-populate HASH KVLIST
Package

stdutils

Source

hashutil.lisp (file)

Macro: hash-put HASH KEY VALUE
Package

stdutils

Source

hashutil.lisp (file)

Macro: hash-rem HASH KEY
Package

stdutils

Source

hashutil.lisp (file)

Macro: hashset-difference HSET1 HSET2
Package

stdutils

Source

hashutil.lisp (file)

Macro: hashset-intersection HSET1 HSET2
Package

stdutils

Source

hashutil.lisp (file)

Macro: hashset-union HSET1 HSET2
Package

stdutils

Source

hashutil.lisp (file)

Macro: if* &rest ARGS
Package

stdutils

Source

ifstar.lisp (file)

Macro: if-match PAT SEQ THEN &optional ELSE
Package

stdutils

Source

match.lisp (file)

Macro: ifret TEST-FORM &rest ELSE-FORM
Package

stdutils

Source

conditionals.lisp (file)

Macro: intern-format FORMAT-STRING &rest FORMAT-ARGS

This interns a string defined by format-string into the current package

Package

stdutils

Source

system.lisp (file)

Macro: intern-format-pkg PKG FORMAT-STRING &rest FORMAT-ARGS

This takes an explicit package and interns a string defined by format-string

Package

stdutils

Source

system.lisp (file)

Macro: mac1 EXPR

Abbreviation for macroexpand-1

Package

stdutils

Source

macros.lisp (file)

Macro: make-regex-replace-filter REGEX SUBST &optional COMMENT
Package

stdutils

Source

regex.lisp (file)

Macro: make-regex-verify-filter REGEX &optional COMMENT
Package

stdutils

Source

regex.lisp (file)

Macro: map-> FN START TEST-FN SUCC-FN

A general map function to assemble a map operation over arbitrary sequences. It takes an initial value ’start’, a completion test function and a successor function which computes the next value

Package

stdutils

Source

map.lisp (file)

Macro: map-across FN ARRAY
Package

stdutils

Source

map.lisp (file)

Macro: map-across-idx FN ARRAY
Package

stdutils

Source

map.lisp (file)

Macro: map-across-n FN ARRAY N
Package

stdutils

Source

map.lisp (file)

Macro: map0-n FN N

map over the integers from 0 to n

Package

stdutils

Source

map.lisp (file)

Macro: mapa-b FN A B &optional STEP

map over the integers from a to b

Package

stdutils

Source

map.lisp (file)

Macro: mapwords FN WSEQ
Package

stdutils

Source

wordseq.lisp (file)

Macro: multiple-intersection PASSED-LISTS &rest REST

Takes the intersection of one or more lists. If one list is passed, returns that list. Keylist accepts :key, :test, and :test-not

Package

stdutils

Source

lists.lisp (file)

Macro: mvbind BINDS CALL &body BODY
Package

stdutils

Source

shorthand.lisp (file)

Macro: mvdo BINDS (TEST &rest RESULT) &body BODY
Package

stdutils

Source

iteration2.lisp (file)

Macro: mvdo* PARM-CL TEST-CL &body BODY
Package

stdutils

Source

iteration2.lisp (file)

Macro: mvpsetq &rest ARGS
Package

stdutils

Source

iteration2.lisp (file)

Macro: mvretn NUM EXPR

Returning the num’th value from a multi value returning expression, expr

Package

stdutils

Source

shorthand.lisp (file)

Macro: mvsetq &body ARGS
Package

stdutils

Source

shorthand.lisp (file)

Macro: nand &rest FORMS

Return nil iff all are non-nil

Package

stdutils

Source

conditionals.lisp (file)

Macro: ncurry FN &rest DEF-ARGS
Package

stdutils

Source

functions.lisp (file)

Macro: nhashset-union HSET1 HSET2
Package

stdutils

Source

hashutil.lisp (file)

Macro: nif EXPR POS ZERO NEG
Package

stdutils

Source

conditionals.lisp (file)

Macro: nor &rest FORMS

Return true iff all nil

Package

stdutils

Source

conditionals.lisp (file)

Macro: noret &body BODY

Execute form and return t for any value or nil

Package

stdutils

Source

conditionals.lisp (file)

Macro: nullit EXPR

Good for interaction at the repl; return null to the invoking expression regardless of the return value of expr

Package

stdutils

Source

macros.lisp (file)

Macro: on-array REC BASE &rest ARRAYS

Utility to build functions that walk arrays

Package

stdutils

Source

lists.lisp (file)

Macro: on-cdrs REC BASE &rest LSTS

Utility to defun anaphoric recursion functions over lists

Package

stdutils

Source

lists.lisp (file)

Macro: on-trees REC BASE &rest TREES
Package

stdutils

Source

lists.lisp (file)

Macro: one-only &body EXPRS

If only one-value is non-nil, return that value

Package

stdutils

Source

conditionals.lisp (file)

Macro: paralet ASSIGNMENTS &body BODY
Package

stdutils

Source

macros.lisp (file)

Macro: poplast PLACE

Remove the last element from the list and return it

Package

stdutils

Source

lists.lisp (file)

Macro: prod-list LIST
Package

stdutils

Source

map.lisp (file)

Macro: propmacro PROPNAME

Create a macro that gets a specific property from the property list of a symbol

Package

stdutils

Source

macros.lisp (file)

Macro: propmacros &rest PROPS

Create multiple property get macros

Package

stdutils

Source

macros.lisp (file)

Macro: pushlast VALUE PLACE
Package

stdutils

Source

lists.lisp (file)

Macro: random-choice &rest EXPRS

A random choice from a set of expressions

Package

stdutils

Source

random.lisp (file)

Macro: retset VARIABLE FORM
Package

stdutils

Source

conditionals.lisp (file)

Macro: rotate PLACE
Package

stdutils

Source

lists.lisp (file)

Macro: set-tag PLACE TAG
Package

stdutils

Source

setf.lisp (file)

Macro: string-append OUTPUTSTR &rest ARGS
Package

stdutils

Source

strings.lisp (file)

Macro: sum-list LIST
Package

stdutils

Source

map.lisp (file)

Macro: till TEST &body BODY
Package

stdutils

Source

iteration.lisp (file)

Macro: vcurry FN PATTERN &rest ORIG-ARGS

Pattern determines the calling arglist over fn where nils are replaced with arguments to the new lambda in order and vars are replaced with the arguments in args in order

Package

stdutils

Source

functions.lisp (file)

Macro: vector-match1 PATTERN VECTOR &optional START-INDEX

Match pattern over vector starting at start-index.

Package

stdutils

Source

match.lisp (file)

Macro: when-bind (VAR EXPR) &body BODY
Package

stdutils

Source

macros.lisp (file)

Macro: when-bind* BINDS &body BODY
Package

stdutils

Source

macros.lisp (file)

Macro: while TEST &body BODY
Package

stdutils

Source

iteration.lisp (file)

Macro: with-accessors+ SLOTS &rest BODY
Package

stdutils

Source

clos.lisp (file)

Macro: with-array PAT AR &body BODY
Package

stdutils

Source

macros.lisp (file)

Macro: with-assocs NAMES ALIST &body BODY

Associates a symbol with it’s equivalent in the alist. Also matches keyword versions of the symbol to make it simpler for parsing most static datastructures you might want to use this for Beware if this isn’t what you want.

Package

stdutils

Source

system.lisp (file)

Macro: with-gensyms SYMS &body BODY
Package

stdutils

Source

system.lisp (file)

Macro: with-keywords NAMES LIST &body BODY

Bind keyword names to values from a list of alternating keyword value pairs

Package

stdutils

Source

system.lisp (file)

Macro: with-matrix PATS AR &body BODY
Package

stdutils

Source

macros.lisp (file)

Macro: with-print-clock-cycles (CPU-GHZ &key NORM-F UNIT-NAME) &rest BODY
Package

stdutils

Source

prof.lisp (file)

Macro: with-print-elapsed-time (&key BASE-UNITS NORM-F UNIT-NAME) &rest BODY

Does not handle bodies that return multiple values. Returns seconds elapsed unless you set base-units to 1/N seconds

Package

stdutils

Source

prof.lisp (file)

Macro: with-slots+ SLOTS &rest BODY
Package

stdutils

Source

clos.lisp (file)

Macro: with-string-stream (LABEL) &rest BODY

Binds label to a string output stream and returns the string representing the writes to that stream

Package

stdutils

Source

strings.lisp (file)

Macro: with-struct (NAME . FIELDS) STRUCT &body BODY
Package

stdutils

Source

macros.lisp (file)

Macro: with-struct-slots (NAME . FIELDS) STRUCT &body BODY
Package

stdutils

Source

macros.lisp (file)

Macro: xor &rest FORMS

Return the non-nil value iff only one value is true

Package

stdutils

Source

conditionals.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Compiler macros

Compiler Macro: partition &rest ARGS
Package

split-sequence

Source

split-sequence.lisp (file)

Compiler Macro: partition-if &rest ARGS
Package

split-sequence

Source

split-sequence.lisp (file)

Compiler Macro: partition-if-not &rest ARGS
Package

split-sequence

Source

split-sequence.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Functions

Function: =wseq WS1 WS2
Package

stdutils

Source

wordseq.lisp (file)

Function: >wseq WS1 WS2
Package

stdutils

Source

wordseq.lisp (file)

Function: accum FN INIT &rest LISTS
Package

stdutils

Source

map.lisp (file)

Function: accumulate-list FN LIST

Map a binary operation over a list, accumulating the incremental results fn(fn(1,2),3)...

Package

stdutils

Source

map.lisp (file)

Function: add-matrix &rest MATRICES

Add matrices

Package

stdutils

Source

matrix.lisp (file)

Function: add-sql-quotes S
Package

stdutils

Source

strings.lisp (file)

Function: after X Y LST &key TEST

Returns true if any y occurs before the first x in lst

Package

stdutils

Source

lists.lisp (file)

Function: anaphex ARGS EXPR
Package

stdutils

Source

iteration2.lisp (file)

Function: anaphex1 ARGS CALL
Package

stdutils

Source

macros.lisp (file)

Function: anaphex2 OP ARGS
Package

stdutils

Source

macros.lisp (file)

Function: anaphex3 OP ARGS
Package

stdutils

Source

macros.lisp (file)

Function: append-sublists LIST

Takes a list of lists and appends all sublists

Package

stdutils

Source

lists.lisp (file)

Function: append1 LST OBJ
Package

stdutils

Source

map.lisp (file)

Function: arec REC &optional BASE

Walks an array as in lrec, base case is end of array

Package

stdutils

Source

lists.lisp (file)

Function: array->list ARRAY &aux LIST
Package

stdutils

Source

lists.lisp (file)

Function: assoc-find VALUE LIST &optional TEST
Package

stdutils

Source

lists.lisp (file)

Function: assoc-get KEY LIST &optional TEST
Package

stdutils

Source

lists.lisp (file)

Setf Expander

(setf assoc-get) (setf expander)

Setf Expander: (setf assoc-get) KEY VALUE LIST &optional TEST
Package

stdutils

Source

lists.lisp (file)

Reader

assoc-get (function)

Writer

assoc-put (function)

Function: assoc-put KEY VALUE LIST &optional TEST
Package

stdutils

Source

lists.lisp (file)

Setf Expander

(setf assoc-get) (setf expander)

Function: assoc-rem VALUE LIST
Package

stdutils

Source

lists.lisp (file)

Function: before X Y LST &key TEST

Returns true if an x occurs before the first y in lst

Package

stdutils

Source

lists.lisp (file)

Function: best FN LST

Get the best element from list using fn as a comparison of list elements. fn returns nul if first object fails or the object if it wins.

Package

stdutils

Source

lists.lisp (file)

Function: break-list ITEM LIST &key KEY TEST DISCARD

Destructive version of split-list

Package

stdutils

Source

lists.lisp (file)

Function: cars LIST
Package

stdutils

Source

map.lisp (file)

Function: cddrs LIST
Package

stdutils

Source

map.lisp (file)

Function: cdrs LIST
Package

stdutils

Source

map.lisp (file)

Function: charhex CH

convert hex character to decimal

Package

stdutils

Source

strings.lisp (file)

Function: clear-matrix MATRIX VALUE

Set every element of matrix to an initial-value

Package

stdutils

Source

matrix.lisp (file)

Function: collapse-whitespace S

Convert multiple whitespace characters to a single space character.

Package

stdutils

Source

strings.lisp (file)

Function: collect ()

cons together non-nil results

Package

stdutils

Source

map.lisp (file)

Function: collect-offsets LIST
Package

stdutils

Source

lists.lisp (file)

Function: collectn ()
Package

stdutils

Source

map.lisp (file)

Function: combinations &rest LISTS

Create a list for each combination formed of an element from each provided list. ie (list-combinations ’(a b c) ’(d e)) => ’((a d) (a e) (b d) (b e) (c d) (c e))

Package

stdutils

Source

lists.lisp (file)

Function: compile-pattern PATTERN &key ELT CMP ATOM-TYPE
Package

stdutils

Source

match.lisp (file)

Function: compose &rest FNS

Function composition.

Package

stdutils

Source

functions.lisp (file)

Function: conc1 LST OBJ
Package

stdutils

Source

map.lisp (file)

Function: concat-separated-strings SEPARATOR &rest LISTS
Package

stdutils

Source

strings.lisp (file)

Function: cons->list LIST

Convert a list of cons cells to a list of two-element lists, i.e. (a . b) => (a b)

Package

stdutils

Source

lists.lisp (file)

Function: constituent C
Package

stdutils

Source

tokenizer.lisp (file)

Function: copy-matrix MATRIX

Return a copy of the matrix.

Package

stdutils

Source

matrix.lisp (file)

Function: count-leaves TREE &key COUNT-LAST-NIL
Package

stdutils

Source

lists.lisp (file)

Function: count-lisp-files DIRECTORY &key EXTENSION IGNORE-COMMENTS IGNORE-STRINGS PRINT-FILES PRINT-DIRS IGNORE-DIRS

Line count for all lisp files under provided directory

Package

stdutils

Source

file.lisp (file)

Function: count-lisp-lines FILENAME &key IGNORE-COMMENTS IGNORE-STRINGS
Package

stdutils

Source

file.lisp (file)

Function: count-string-char S C

Return a count of the number of times a character appears in a string

Package

stdutils

Source

strings.lisp (file)

Function: count-string-char-if PRED S

Return a count of the number of times a predicate is true for characters in a string

Package

stdutils

Source

strings.lisp (file)

Function: count-string-words STR
Package

stdutils

Source

strings.lisp (file)

Function: create-set-method-if ()
Package

stdutils

Source

collections.lisp (file)

Function: curry FN ARG
Package

stdutils

Source

functions.lisp (file)

Function: curry2 FN ARG
Package

stdutils

Source

functions.lisp (file)

Function: dbind-ex BINDS BODY
Package

stdutils

Source

macros.lisp (file)

Function: decode-uri-string QUERY

Unescape non-alphanumeric characters for URI fields

Package

stdutils

Source

strings.lisp (file)

Function: delimited-string-to-list STRING &optional SEPARATOR SKIP-TERMINAL

split a string with delimiter

Package

stdutils

Source

strings.lisp (file)

Function: directory-pathname FILE

Return the path of the directory of the file.

Package

stdutils

Source

file.lisp (file)

Function: disjunction SET1 SET2

Compute the non-intersecting elements of set1 and set2

Package

stdutils

Source

lists.lisp (file)

Function: distinct LIST &key TEST KEY

Create a reduced list which groups all equal terms in the original into sublists (1 2 2 3 3 3 4) => ((1) (2 2) (3 3 3) (4))

Package

stdutils

Source

lists.lisp (file)

Function: distribute ROWS

distributes each element of each row into a separate contiguous list, like inverting an array

Package

stdutils

Source

lists.lisp (file)

Function: dt-args LEN REST SRC
Package

stdutils

Source

iteration2.lisp (file)

Function: duplicate OBJ LST &key TEST
Package

stdutils

Source

lists.lisp (file)

Function: eliminate-matrix MATRIX ROWS COLS

Gaussian elimination with partial pivoting.

Package

stdutils

Source

matrix.lisp (file)

Function: encode-uri-string QUERY

Escape non-alphanumeric characters for URI fields

Package

stdutils

Source

strings.lisp (file)

Function: ensure-string V
Package

stdutils

Source

strings.lisp (file)

Function: escape-backslashes S
Package

stdutils

Source

strings.lisp (file)

Function: escape-xml-string STRING

Escape invalid XML characters

Package

stdutils

Source

strings.lisp (file)

Function: exchange-rows MATRIX ROW-I ROW-J

Exchange row-i and row-j of a matrix

Package

stdutils

Source

matrix.lisp (file)

Function: explode SYM

Turn a symbol into a list of the constitutent characters of its name

Package

stdutils

Source

lists.lisp (file)

Function: extract-tagged-words TAGSPEC SENTENCE
Package

stdutils

Source

tokenizer.lisp (file)

Function: extract-tokens STR TEST &optional START

Returns a list of the subsequences satisfying test, characters failing the test are treated as whitespace.

Package

stdutils

Source

tokenizer.lisp (file)

Function: extract-words STR &optional START
Package

stdutils

Source

tokenizer.lisp (file)

Function: factorial N
Package

stdutils

Source

math.lisp (file)

Function: fast-array-copy A1 A2 START COUNT

Unsafe array copy

Package

stdutils

Source

arrays.lisp (file)

Function: fast-string-search SUBSTR STR SUBSTR-LENGTH STARTPOS ENDPOS

Optimized search for a substring in a simple-string

Package

stdutils

Source

strings.lisp (file)

Function: filter FN LST

Extract elements on which fn returns true

Package

stdutils

Source

lists.lisp (file)

Function: filter-text TEXT FILTERS &key DEBUG

Successively applies a filter function from list to text and the next filter to the result of the prior

Package

stdutils

Source

regex.lisp (file)

Function: find-all-patterns PATTERN VECTOR
Package

stdutils

Source

match.lisp (file)

Function: find2 FN LST

returns two values, the first element in lst on which fn returns a non-null value and the value so returned.

Package

stdutils

Source

lists.lisp (file)

Function: first-char S
Package

stdutils

Source

strings.lisp (file)

Function: first-nonwhite-char STRING

Find the first non-whitespace character on this line

Package

stdutils

Source

file.lisp (file)

Function: flatten X

Turn a cons tree in to a list

Package

stdutils

Source

lists.lisp (file)

Function: flatten1 X

Flatten a list by removing only one level

Package

stdutils

Source

lists.lisp (file)

Function: fn-compose &rest FNS
Package

stdutils

Source

functions.lisp (file)

Function: fn-sequence &rest FNS

Function sequencing with shared args

Package

stdutils

Source

functions.lisp (file)

Function: force-wseq-word WORD
Package

stdutils

Source

wordseq.lisp (file)

Function: format-time-string STRM FMT &optional UT ZONE LANGUAGE
Package

stdutils

Source

time.lisp (file)

Function: gather &rest COLUMNS

Gathers top elements from each column in columns and groups them in order, like inverting an array

Package

stdutils

Source

lists.lisp (file)

Function: gather-pairs LIST1 LIST2
Package

stdutils

Source

lists.lisp (file)

Function: generate-code-search PATTERN &key ELT CMP ATOM-TYPE
Package

stdutils

Source

match.lisp (file)

Function: gensyms NUM &key LAST

Returns a list of ’num’ gensysms

Package

stdutils

Source

shorthand.lisp (file)

Function: gensyms-ignorable SYMLIST

Generates ignorable declarations for a list of gensyms

Package

stdutils

Source

shorthand.lisp (file)

Function: group LIST NUM

Returns a list of sub-lists, each sublist being the next ’num’ of the source list. Lists that are not multiples of ’num’ will have a truncated final list.

Package

stdutils

Source

lists.lisp (file)

Function: hash-contains THIS KEY
Package

stdutils

Source

hashutil.lisp (file)

Function: hash-empty? HASH
Package

stdutils

Source

hashutil.lisp (file)

Function: hash-eq? H1 H2
Package

stdutils

Source

hashutil.lisp (file)

Function: hash-get_length THIS
Package

stdutils

Source

hashutil.lisp (file)

Function: hash-get_rehash_size THIS
Package

stdutils

Source

hashutil.lisp (file)

Function: hash-get_test THIS
Package

stdutils

Source

hashutil.lisp (file)

Function: hash-items HASH

Return the alist with the same data as the hash-table.
Like alist->hash-table but the first element is not the test: ’(key0 . val0) (key1 . val1).

Package

stdutils

Source

hashutil.lisp (file)

Function: hash-keys HASH
Package

stdutils

Source

hashutil.lisp (file)

Function: hash-new_copy THIS
Package

stdutils

Source

hashutil.lisp (file)

Function: hash-push HASH KEY VALUE
Package

stdutils

Source

hashutil.lisp (file)

Function: hash-sure_get THIS KEY
Package

stdutils

Source

hashutil.lisp (file)

Function: hash-sure_set THIS KEY VALUE
Package

stdutils

Source

hashutil.lisp (file)

Function: hash-values HASH
Package

stdutils

Source

hashutil.lisp (file)

Function: hashset-populate HSET LIST &key KEY
Package

stdutils

Source

hashutil.lisp (file)

Function: hexchar N
Package

stdutils

Source

strings.lisp (file)

Function: init-wseq ()
Package

stdutils

Source

wordseq.lisp (file)

Function: integer-combinations N M

(n C m) from classic combinatorics. Number of unique ordered sets

Package

stdutils

Source

math.lisp (file)

Function: integer-permutations N M &aux P

(n P m) from classic combinatorics. Number of unique unordered sets

Package

stdutils

Source

math.lisp (file)

Function: integer-permutations-repeated N M REPEATS

Permutations with repeated elements. Repeats is the number of subsets of N that are counted as identical under permutation

Package

stdutils

Source

math.lisp (file)

Function: integer-string NUM LEN

Outputs a string of LEN digit with an optional initial character PCHAR. Leading zeros are present.

Package

stdutils

Source

strings.lisp (file)

Function: intersections &rest SETS
Package

stdutils

Source

lists.lisp (file)

Function: invert-matrix MATRIX &optional DESTRUCTIVE

Find the inverse of a matrix. By default this operation is destructive. If you want to preserve the original matrix, call this function with an argument of NIL to destructive.

Package

stdutils

Source

matrix.lisp (file)

Function: is-char-whitespace C
Package

stdutils

Source

strings.lisp (file)

Function: is-string-empty STR
Package

stdutils

Source

strings.lisp (file)

Function: is-string-whitespace STR

Return t if string is all whitespace

Package

stdutils

Source

strings.lisp (file)

Function: keep-keywords LIST KEYWORDS

Keep only specified keywords from a keylist

Package

stdutils

Source

system.lisp (file)

Function: last-char S
Package

stdutils

Source

strings.lisp (file)

Function: last1 LST
Package

stdutils

Source

map.lisp (file)

Function: lex-string STRING &key WHITESPACE

Separates a string at whitespace and returns a list of strings

Package

stdutils

Source

strings.lisp (file)

Function: limit-max LIMIT VALUE
Package

stdutils

Source

math.lisp (file)

Function: limit-min LIMIT VALUE
Package

stdutils

Source

math.lisp (file)

Function: list->array LIST &key ADJUSTABLE TYPE
Package

stdutils

Source

lists.lisp (file)

Function: list-max LIST
Package

stdutils

Source

lists.lisp (file)

Function: list-structure LIST
Package

stdutils

Source

lists.lisp (file)

Function: list-to-delimited-string LIST &optional SEPARATOR
Package

stdutils

Source

strings.lisp (file)

Function: list-to-string LST

Converts a list to a string, doesn’t include any delimiters between elements

Package

stdutils

Source

strings.lisp (file)

Function: localize-expression EXP &key PACKAGE EXCEPTIONS
Package

stdutils

Source

lists.lisp (file)

Function: localize-symbol SYM &key PACKAGE EXCEPTIONS IGNORE-KEYWORDS
Package

stdutils

Source

system.lisp (file)

Function: longer X Y

Is x longer than y?

Package

stdutils

Source

lists.lisp (file)

Function: lrec REC &optional BASE

Guides a list recursion process and takes
recursive functions of x = car and fn = recursive call the terminal end of list case returns the value of base. Beware of non-tail recursive implementation

Package

stdutils

Source

lists.lisp (file)

Function: make-identity-matrix SIZE

Make an identity matrix of the specified size.

Package

stdutils

Source

matrix.lisp (file)

Function: make-matrix ROWS &optional COLS

Create a matrix filled with zeros. If only one parameter is specified the matrix will be square.

Package

stdutils

Source

matrix.lisp (file)

Function: make-taglist &optional TEST

Simple data structure ’taglist’. This function creates an object that can provide a unique tag for each unique object as determined under test. Conceptually a uniqueified alist intended for small sets of objects

Package

stdutils

Source

collections.lisp (file)

Function: make-ticker &optional TICKS-PER-SEC
Package

stdutils

Source

prof.lisp (file)

Function: make-timer ()
Package

stdutils

Source

prof.lisp (file)

Function: make-timer-remaining-by-count TOTAL
Package

stdutils

Source

prof.lisp (file)

Function: make-usb8-array LEN
Package

stdutils

Source

strings.lisp (file)

Function: make-wseq ()
Package

stdutils

Source

wordseq.lisp (file)

Function: map-all-combinations FUNCTION &rest LISTS

Applies function to every combination of the elements of the lists provided. (function) should recieve a single list as a parameter. Don’t count on the order of application. Beware! This is an n^(huge) power function! Use carefully.

Package

stdutils

Source

lists.lisp (file)

Function: mapcar-idx FN LIST
Package

stdutils

Source

map.lisp (file)

Function: mapcars FN &rest LSTS
Package

stdutils

Source

map.lisp (file)

Function: mappend FN &rest LSTS
Package

stdutils

Source

map.lisp (file)

Function: match X Y &optional BINDS
Package

stdutils

Source

match.lisp (file)

Function: matrixp MATRIX

Test whether the argument is a matrix

Package

stdutils

Source

matrix.lisp (file)

Function: max-array ARRAY &optional START
Package

stdutils

Source

lists.lisp (file)

Function: maxmin ARGS
Package

stdutils

Source

lists.lisp (file)

Function: memoize FN
Package

stdutils

Source

functions.lisp (file)

Function: memoize1 FN
Package

stdutils

Source

functions.lisp (file)

Function: merge-or-regex-strings LIST &optional OPERATION

Combine multiple strings by concatenting a separator, such as an OR for or’ing together regular expressions.

Package

stdutils

Source

regex.lisp (file)

Function: mkkeysym TEXT
Package

stdutils

Source

shorthand.lisp (file)

Function: mklist OBJ

Make into list if atom

Package

stdutils

Source

lists.lisp (file)

Function: mkstr &rest ARGS
Package

stdutils

Source

strings.lisp (file)

Function: mksymbol &rest COMPONENT-NAMES
Package

stdutils

Source

shorthand.lisp (file)

Function: mkupsymbol &rest COMPONENT-NAMES
Package

stdutils

Source

shorthand.lisp (file)

Function: most FN LST

Get the highest scoring element from list using
fn as the scoring routine. If there are multiple elements with the highest score this gets the first.

Package

stdutils

Source

lists.lisp (file)

Function: mostn FN LST

Get the highest scoring elements from list using fn as the scoring routine.

Package

stdutils

Source

lists.lisp (file)

Function: multiply-matrix &rest MATRICES

Multiply matrices

Package

stdutils

Source

matrix.lisp (file)

Function: mvdo-gen BINDS REBINDS TEST BODY
Package

stdutils

Source

iteration2.lisp (file)

Function: mvdo-rebind-gen REBINDS
Package

stdutils

Source

iteration2.lisp (file)

Function: ndistinct LIST &key TEST KEY

Like distinct, but performs a destructive sort on the original list

Package

stdutils

Source

lists.lisp (file)

Function: neq A B
Package

stdutils

Source

conditionals.lisp (file)

Function: neql A B
Package

stdutils

Source

conditionals.lisp (file)

Function: nequal A B
Package

stdutils

Source

conditionals.lisp (file)

Function: nequalp A B
Package

stdutils

Source

conditionals.lisp (file)

Function: nflatten TREE
Package

stdutils

Source

lists.lisp (file)

Function: nmerge-duplicates FUNC LIST &key TEST

Destructively walks the list and when test applies between the head and any remaining element it applies func to the two elements, makes that the newly accumulated value (replacing all instances of matches to the head) and then compares the original element again to the remainder of the list. The choice of ’head’ comparison with the original head value is for numerical quantities, ie: (nmerge-duplicates #’+ ’(1 2 3 1 2 3 4 5 5 4) :test #’=) ==> ’(2 4 6 8 10)

Package

stdutils

Source

lists.lisp (file)

Function: non-alphanumericp CH
Package

stdutils

Source

strings.lisp (file)

Function: nstring-trim-last-character S

Return the string less the last character

Package

stdutils

Source

strings.lisp (file)

Function: num-cols MATRIX

Return the number of rows of a matrix

Package

stdutils

Source

matrix.lisp (file)

Function: num-rows MATRIX

Return the number of rows of a matrix

Package

stdutils

Source

matrix.lisp (file)

Function: only-null-list-elements-p LST
Package

stdutils

Source

strings.lisp (file)

Function: pairs LIST

Take each set of two elements in the list and make a list one half the size containing a pair of each two items

Package

stdutils

Source

lists.lisp (file)

Function: parallel-expand KEYWORD BODY
Package

stdutils

Source

macros.lisp (file)

Function: parse-time-string STR &optional RECOGNIZERS
Package

stdutils

Source

time.lisp (file)

Function: partition &rest ARGS

PARTITION is deprecated; use SPLIT-SEQUENCE instead.

Package

split-sequence

Source

split-sequence.lisp (file)

Function: partition-if &rest ARGS

PARTITION-IF is deprecated; use SPLIT-SEQUENCE-IF instead.

Package

split-sequence

Source

split-sequence.lisp (file)

Function: partition-if-not &rest ARGS

PARTITION-IF-NOT is deprecated; use SPLIT-SEQUENCE-IF-NOT instead.

Package

split-sequence

Source

split-sequence.lisp (file)

Function: pop-symbol SYM
Package

stdutils

Source

macros.lisp (file)

Function: position-char CHAR STRING START MAX
Package

stdutils

Source

strings.lisp (file)

Function: position-not-char CHAR STRING START MAX
Package

stdutils

Source

strings.lisp (file)

Function: prefixed-fixnum-string NUM PCHAR LEN

Outputs a string of LEN digit with an optional initial character PCHAR. Leading zeros are present.

Package

stdutils

Source

strings.lisp (file)

Function: print-matrix MATRIX &optional DESTINATION CONTROL-STRING

Print a matrix. The optional control string indicates how each entry should be printed.

Package

stdutils

Source

matrix.lisp (file)

Function: print-separated-strings ()
Package

stdutils

Source

strings.lisp (file)

Function: prune TEST TREE
Package

stdutils

Source

lists.lisp (file)

Function: quote-tokenize STRING
Package

stdutils

Source

tokenizer.lisp (file)

Function: random-char &optional SET
Package

stdutils

Source

strings.lisp (file)

Function: random-element LIST

Choose a random element from the list and return it

Package

stdutils

Source

random.lisp (file)

Function: random-fraction-list PRECISION N
Package

stdutils

Source

random.lisp (file)

Function: random-integer-list LOWER UPPER N
Package

stdutils

Source

random.lisp (file)

Function: random-order LIST

Return a new list in a random order; This may not be ’truely’ random

Package

stdutils

Source

random.lisp (file)

Function: random-string &key LENGTH SET

Returns a random lower-case string.

Package

stdutils

Source

strings.lisp (file)

Function: random-subset LIST SIZE

Extract a random subset by percent (size < 1)
and return two values, the subset and the remainder set - order is not maintained

Package

stdutils

Source

random.lisp (file)

Function: read2 &optional STR
Package

stdutils

Source

file.lisp (file)

Function: recognize-fmt STRM FMT-LST

STRM is an input stream to parse. FMT-LST is list of terms from fmt string.

Package

stdutils

Source

time.lisp (file)

Function: rem-keywords LIST KEYWORDS

Remove keywords from a keylist

Package

stdutils

Source

system.lisp (file)

Function: remove-generic-function-method SPEC
Package

stdutils

Source

clos.lisp (file)

Function: remove-nulls LIST
Package

stdutils

Source

lists.lisp (file)

Function: remove-sublist LIST SUBLIST &key TEST SPLIT

Finds and removes the first occurances of sublist in list

Package

stdutils

Source

lists.lisp (file)

Function: repeat E N

repeat element e n times into a list

Package

stdutils

Source

lists.lisp (file)

Function: repeat-fn FN N

repeat thunk fn n times, results are returned in a list, car is the result of the first call

Package

stdutils

Source

lists.lisp (file)

Function: replaced-string-length STR REPL-ALIST
Package

stdutils

Source

strings.lisp (file)

Function: reset-ticker TICKER
Package

stdutils

Source

prof.lisp (file)

Function: reset-timer TIMER
Package

stdutils

Source

prof.lisp (file)

Function: rfind-if FN TREE

Find first atom in tree on which fn returns true

Package

stdutils

Source

lists.lisp (file)

Function: rfind-node-if FN TREE

Recurse cons-based tree structure until a matching subtree is found

Package

stdutils

Source

lists.lisp (file)

Function: rmapcar FN &rest ARGS
Package

stdutils

Source

map.lisp (file)

Function: safe-subseq SEQUENCE START &optional END
Package

stdutils

Source

lists.lisp (file)

Function: same-length A B
Package

stdutils

Source

lists.lisp (file)

Function: seed-random-generator ()

Evaluate a random number of items

Package

stdutils

Source

random.lisp (file)

Function: select-if FF LST &key KEY

Extract only the elements from the lst that satisfy the predicate ff

Package

stdutils

Source

lists.lisp (file)

Function: select-keywords LIST
Package

stdutils

Source

system.lisp (file)

Function: set-differences SET &rest OUTS
Package

stdutils

Source

lists.lisp (file)

Function: set-equal SET1 SET2
Package

stdutils

Source

lists.lisp (file)

Function: shrink-vector STR SIZE
Package

stdutils

Source

strings.lisp (file)

Function: shuffle X Y

Mix x and y element for element into a single list

Package

stdutils

Source

lists.lisp (file)

Function: single LST
Package

stdutils

Source

map.lisp (file)

Function: slurp-file FILENAME

Read a file’s contents to a string

Package

stdutils

Source

file.lisp (file)

Function: solve-matrix MATRIX &optional DESTRUCTIVE PRINT-SOLN

Solve a matrix using Gaussian elimination
Matrix must be N by N+1
Assume solution is stored as the N+1st column of the matrix

Package

stdutils

Source

matrix.lisp (file)

Function: sort-b-according-to-a ALIST BLIST PREDICATE &optional KEY

Sorts blist according to the reordering of alist and returns the newly ordered blist. Non-destructive to alist and blist

Package

stdutils

Source

lists.lisp (file)

Function: sort-ordering-by ORDER ELEMENTS KEY

Simple n squared order b according to a

Package

stdutils

Source

lists.lisp (file)

Function: split-alphanumeric-string STRING

Separates a string at any non-alphanumeric chararacter

Package

stdutils

Source

strings.lisp (file)

Function: split-if FN LST
Package

stdutils

Source

lists.lisp (file)

Function: split-list ITEM LIST &key KEY TEST DISCARD

Walks list to first match of item and returns two fresh lists; one up to the item and the remainder including the item.

Package

stdutils

Source

lists.lisp (file)

Function: split-sequence DELIMITER SEQ &key COUNT REMOVE-EMPTY-SUBSEQS FROM-END START END TEST TEST-NOT KEY

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.

Package

split-sequence

Source

split-sequence.lisp (file)

Function: split-sequence-if PREDICATE SEQ &key COUNT REMOVE-EMPTY-SUBSEQS FROM-END START END KEY

Return a list of subsequences in seq delimited by items satisfying predicate.

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-IF. 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.

Package

split-sequence

Source

split-sequence.lisp (file)

Function: split-sequence-if-not PREDICATE SEQ &key COUNT REMOVE-EMPTY-SUBSEQS FROM-END START END KEY

Return a list of subsequences in seq delimited by items satisfying (CL:COMPLEMENT predicate).

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-IF-NOT. 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.

Package

split-sequence

Source

split-sequence.lisp (file)

Function: square-matrix? MATRIX

Is the matrix a square matrix?

Package

stdutils

Source

matrix.lisp (file)

Function: strcat &rest STRINGS
Package

stdutils

Source

strings.lisp (file)

Function: string->list STRING
Package

stdutils

Source

strings.lisp (file)

Function: string-delimited-string-to-list ()

splits a string delimited by substr into a list of strings

Package

stdutils

Source

strings.lisp (file)

Function: string-elide STR MAXLEN POSITION
Package

stdutils

Source

strings.lisp (file)

Function: string-hash STR &optional BITMASK
Package

stdutils

Source

strings.lisp (file)

Function: string-invert ()

Invert case of a string

Package

stdutils

Source

strings.lisp (file)

Function: string-left-trim-whitespace STR
Package

stdutils

Source

strings.lisp (file)

Function: string-maybe-shorten STR MAXLEN
Package

stdutils

Source

strings.lisp (file)

Function: string-remove-characters STRING CHAR-LIST
Package

stdutils

Source

strings.lisp (file)

Function: string-right-trim-one-char CHAR STR
Package

stdutils

Source

strings.lisp (file)

Function: string-right-trim-whitespace STR
Package

stdutils

Source

strings.lisp (file)

Function: string-starts-with START STR
Package

stdutils

Source

strings.lisp (file)

Function: string-strip-ending STR ENDINGS
Package

stdutils

Source

strings.lisp (file)

Function: string-substitute STRING SUBSTRING REPLACEMENT-STRING

String substitute by Larry Hunter. Obtained from Google

Package

stdutils

Source

strings.lisp (file)

Function: string-to-list-skip-delimiter STR &optional DELIM

Return a list of strings, delimited by spaces, skipping spaces.

Package

stdutils

Source

strings.lisp (file)

Function: string-to-usb8-array STR
Package

stdutils

Source

strings.lisp (file)

Function: string-trim-last-character S

Return the string less the last character

Package

stdutils

Source

strings.lisp (file)

Function: string-trim-whitespace STR
Package

stdutils

Source

strings.lisp (file)

Function: strlist->quoted-substrings LIST
Package

stdutils

Source

strings.lisp (file)

Function: strncmp STRING1 STRING2 COUNT START
Package

stdutils

Source

strings.lisp (file)

Function: strncmp-end2 STRING1 STRING2 COUNT START
Package

stdutils

Source

strings.lisp (file)

Function: substitute-chars-strings STR REPL-ALIST

Replace all instances of a chars with a string. repl-alist is an assoc list of characters and replacement strings.

Package

stdutils

Source

strings.lisp (file)

Function: substitute-matrix MATRIX ROWS COLS
Package

stdutils

Source

matrix.lisp (file)

Function: substitute-string-for-char PROCSTR MATCH-CHAR SUBST-STR

Substitutes a string for a single matching character of a string

Package

stdutils

Source

strings.lisp (file)

Function: subtract-matrix &rest MATRICES

Subtract matrices

Package

stdutils

Source

matrix.lisp (file)

Function: sum-array ARRAY &optional START
Package

stdutils

Source

lists.lisp (file)

Function: symb &rest ARGS
Package

stdutils

Source

strings.lisp (file)

Function: symbol-name-equal SRC TARGET &key KEY TEST

Compare two symbols independant of package, can treat target as a complex structure using key

Package

stdutils

Source

system.lisp (file)

Function: taglist-object TAG TAGLIST

Given a tag and a taglist return the object designated by the tag

Package

stdutils

Source

collections.lisp (file)

Function: taglist-tag OBJECT TAGLIST

Take an arbitrary object and a ’taglist’ data structure and return a unique integer id that can be used to retrieve that object.

Package

stdutils

Source

collections.lisp (file)

Function: tags-from-words WORDS TAGLIST &key TAGF
Package

stdutils

Source

collections.lisp (file)

Function: ticker-elapsed TICKER
Package

stdutils

Source

prof.lisp (file)

Function: ticker-print-elapsed TICKER &key STREAM

Print time elapsed, in microseconds or another n parts per second time base

Package

stdutils

Source

prof.lisp (file)

Function: ticker-ticks-per-second ()
Package

stdutils

Source

prof.lisp (file)

Function: timer-elapsed TIMER
Package

stdutils

Source

prof.lisp (file)

Function: timer-print-elapsed TIMER &optional STREAM
Package

stdutils

Source

prof.lisp (file)

Function: timer-rbc-items-remaining TIMER
Package

stdutils

Source

prof.lisp (file)

Function: timer-rbc-print-time-remaining TIMER
Package

stdutils

Source

prof.lisp (file)

Function: timer-rbc-time-remaining TIMER
Package

stdutils

Source

prof.lisp (file)

Function: timer-rbc-update TIMER REMAINING
Package

stdutils

Source

prof.lisp (file)

Function: transpose-matrix MATRIX

Transpose a matrix

Package

stdutils

Source

matrix.lisp (file)

Function: trec REC &optional BASE
Package

stdutils

Source

lists.lisp (file)

Function: trim-non-alphanumeric WORD

Strip non-alphanumeric characters from beginning and end of a word.

Package

stdutils

Source

strings.lisp (file)

Function: unions &rest SETS
Package

stdutils

Source

lists.lisp (file)

Function: unique-pairs LIST

Produce all unique pairings of the provided list

Package

stdutils

Source

lists.lisp (file)

Function: unshuffle N X

Create n lists, each getting the successive element of x. Returns a list of lists. Retains order.

Package

stdutils

Source

lists.lisp (file)

Function: unsplit-words LIST
Package

stdutils

Source

strings.lisp (file)

Function: update-hash HASH KEY VALUE &optional FN
Package

stdutils

Source

hashutil.lisp (file)

Function: update-hash-hash HASH HASH2 &optional FN
Package

stdutils

Source

hashutil.lisp (file)

Function: update-hash-list HASH ALIST &optional FN
Package

stdutils

Source

hashutil.lisp (file)

Function: usb8-array-to-string VEC
Package

stdutils

Source

strings.lisp (file)

Function: use-package-noshadow-exported SRC-PACKAGE &optional TARGET-PACKAGE
Package

stdutils

Source

system.lisp (file)

Function: vars-in-pat EXPR &optional ATOM?
Package

stdutils

Source

match.lisp (file)

Function: vector-1d-lshift ()
Package

stdutils

Source

arrays.lisp (file)

Function: vector-1d-rshift ()
Package

stdutils

Source

arrays.lisp (file)

Function: walk-directories ROOTDIR &rest ARGS &key FILEF DIRF HIDDEN ON-ENTRY IGNORE-DOTFILES IGNORE-DIRS
Package

stdutils

Source

file.lisp (file)

Function: walk-heirarchy ROOT &key NEXT-LEVEL ORDER NODE-ACTION LEAF-ACTION KEY
Package

stdutils

Source

clos.lisp (file)

Function: words-from-tags TAGS TAGLIST &key TAGF
Package

stdutils

Source

collections.lisp (file)

Function: wplac-ex BINDS BODY
Package

stdutils

Source

macros.lisp (file)

Function: wseq-name WSEQ

Return the concatenated string this wseq represents. Duplicates words in memory

Package

stdutils

Source

wordseq.lisp (file)

Function: wseq-subseq SUBSEQ TARGET
Package

stdutils

Source

wordseq.lisp (file)

Function: wseq-word INT
Package

stdutils

Source

wordseq.lisp (file)

Function: wseq-wordlist WSEQ

Return the ordered list of words represented by this string. Do not side effect these strings.

Package

stdutils

Source

wordseq.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.5 Generic functions

Generic Function: add STRUCT KEY VALUE

This function adds a keyed value to a collection

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: add (TABLE table) KEY VALUE
Source

table.lisp (file)

Generic Function: cache-max-objects C
Package

stdutils

Methods
Method: cache-max-objects (C object-cache-h-q)
Source

cache.lisp (file)

Generic Function: cache-objects C
Package

stdutils

Methods
Method: cache-objects (C object-cache-h-q)
Source

cache.lisp (file)

Generic Function: clear STRUCT

Reset the structure to its original state

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: clear (ITER vector-keyed-table-iterator)
Source

vector-keyed-table.lisp (file)

Method: clear (TABLE vector-keyed-table)
Source

vector-keyed-table.lisp (file)

Method: clear (ITER hashed-table-iterator)
Source

hashed-table.lisp (file)

Method: clear (TABLE hashed-table)
Source

hashed-table.lisp (file)

Method: clear (ITER assoc-table-iterator)

To ensure that things are released for GC

Source

assoc-table.lisp (file)

Method: clear (TABLE assoc-table)
Source

assoc-table.lisp (file)

Generic Function: contains STRUCT KEY

A predicate determining if a collection contains a keyed value

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: contains (TABLE table) KEY
Source

table.lisp (file)

Generic Function: convert TYPE STRUCT

Converts one structure to another if a conversion routine exists

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: convert (SOURCE table) TYPE

Default implementation of convert for tables

Source

table.lisp (file)

Generic Function: copy STRUCT

Returns a copy in new storage of the provided structure

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: copy (TABLE table)

Default table copy. Can override with something more efficient for implementations that are amenable to such optimization

Source

table.lisp (file)

Generic Function: dequeue Q
Package

stdutils

Methods
Method: dequeue (Q list-queue)
Source

queue.lisp (file)

Generic Function: drop STRUCT KEY

This function drops a keyed value from a collection

Package

stdutils

Source

gds.lisp (file)

Methods
Method: drop (TABLE vector-keyed-table) KEY
Source

vector-keyed-table.lisp (file)

Method: drop (TABLE hashed-table) KEY
Source

hashed-table.lisp (file)

Method: drop (TABLE assoc-table) KEY
Source

assoc-table.lisp (file)

Method: drop (REGISTRY object-registry) ID
Source

collections.lisp (file)

Generic Function: drop-entry C KEY
Package

stdutils

Methods
Method: drop-entry (C object-cache-h-q) KEY

Drops the oldest entry if nil. If key is valid but not present than no side effects occur

Source

cache.lisp (file)

Generic Function: drop-last ITERATOR

This drops the last visited element in a walk over a collection

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: drop-last (ITER vector-keyed-table-iterator)
Source

vector-keyed-table.lisp (file)

Method: drop-last (ITER hashed-table-iterator)
Source

hashed-table.lisp (file)

Method: drop-last (ITER assoc-table-iterator)
Source

assoc-table.lisp (file)

Generic Function: empty TABLE
Package

stdutils.gds

Methods
Method: empty (TABLE table)
Source

table.lisp (file)

Generic Function: enqueue Q DATUM
Package

stdutils

Methods
Method: enqueue (Q list-queue) DATUM
Source

queue.lisp (file)

Generic Function: find-elt STRUCT VALUE &key ALL KEY TEST

Finds one or more values matching value using key as an accessor and test as the comparison function between value

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: find-elt (TABLE table) VALUE &key ALL KEY TEST &aux LIST
Source

table.lisp (file)

Generic Function: find-value TABLE VALUE &key ALL KEY TEST
Package

stdutils.gds

Methods
Method: find-value (TABLE assoc-table) VALUE &key ALL KEY TEST
Source

assoc-table.lisp (file)

Generic Function: flush-cache C
Package

stdutils

Methods
Method: flush-cache (C object-cache-h-q)
Source

cache.lisp (file)

Generic Function: get-iterator STRUCT &key TYPE

Return a function which when called returns two values; the next element
in the collection and whether the iterator is completed (t on completion). The value is nil when termination is reached. The type argument is gds specific and indicates what aspects of the main ds should be returned during iteration

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: get-iterator (VKTABLE vector-keyed-table) &key TYPE
Source

vector-keyed-table.lisp (file)

Method: get-iterator (TABLE hashed-table) &key TYPE
Source

hashed-table.lisp (file)

Method: get-iterator (TABLE assoc-table) &key TYPE
Source

assoc-table.lisp (file)

Generic Function: get-value STRUCT KEY

The standard access for a datastructure. Two valued return;
first is actual associated value, second is whether it existed

Package

stdutils.gds

Source

gds.lisp (file)

Writer

(setf get-value) (generic function)

Methods
Method: get-value (TABLE vector-keyed-table) KEY
Source

vector-keyed-table.lisp (file)

Method: get-value (TABLE hashed-table) KEY
Source

hashed-table.lisp (file)

Method: get-value (TABLE assoc-table) KEY
Source

assoc-table.lisp (file)

Generic Function: (setf get-value) VALUE STRUCT KEY

Updating or adding a keyed value to a collection

Package

stdutils.gds

Source

gds.lisp (file)

Reader

get-value (generic function)

Methods
Method: (setf get-value) VALUE (TABLE vector-keyed-table) KEY
Source

vector-keyed-table.lisp (file)

Method: (setf get-value) VALUE (TABLE hashed-table) KEY
Source

hashed-table.lisp (file)

Method: (setf get-value) VALUE (TABLE assoc-table) KEY
Source

assoc-table.lisp (file)

Generic Function: index-drop BIDX ID
Package

stdutils

Methods
Method: index-drop (BIDX bidir-index) ID
Source

collections.lisp (file)

Generic Function: index-get-by-id BIDX ID
Package

stdutils

Methods
Method: index-get-by-id (BIDX bidir-index) ID
Source

collections.lisp (file)

Generic Function: index-get-by-obj BIDX OBJ
Package

stdutils

Methods
Method: index-get-by-obj (BIDX bidir-index) OBJ
Source

collections.lisp (file)

Generic Function: index-get-id-obj-map BIDX
Package

stdutils

Methods
Method: index-get-id-obj-map (BIDX bidir-index)
Source

collections.lisp (file)

Generic Function: index-put BIDX ID OBJ
Package

stdutils

Methods
Method: index-put (BIDX bidir-index) ID OBJ
Source

collections.lisp (file)

Generic Function: initialize C &rest REST
Package

stdutils

Methods
Method: initialize (C object-cache-h-q) &rest REST
Source

cache.lisp (file)

Generic Function: insert STRUCT ELEMENT LOCATION
Package

stdutils.gds

Source

gds.lisp (file)

Generic Function: list-insert Q QE NEW
Package

stdutils

Methods
Method: list-insert (Q list-queue) (QE list-queue-elt) (NEW list-queue-elt)

Insert new in front of qe in the list

Source

queue.lisp (file)

Method: list-insert (Q list-queue) (QE (eql nil)) (NEW list-queue-elt)
Source

queue.lisp (file)

Generic Function: list-queue-list QUEUE
Package

stdutils

Methods
Method: list-queue-list (QUEUE list-queue)
Source

queue.lisp (file)

Generic Function: list-remove Q QE
Package

stdutils

Methods
Method: list-remove (Q list-queue) (QE list-queue-elt)

Remove qe from its list

Source

queue.lisp (file)

Generic Function: map-cache C FN &key OLDEST-FIRST
Package

stdutils

Methods
Method: map-cache (C object-cache-h-q) FN &key OLDEST-FIRST
Source

cache.lisp (file)

Generic Function: map-elements FUNCTION STRUCT

Map all the elments of the provided structure and apply function to them. For tables this means all the key-value pairs as a cons pair.

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: map-elements FUNCTION (TABLE table)
Source

table.lisp (file)

Generic Function: map-keys FUNCTION STRUCT

Maps over just the keys for keyed structures

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: map-keys FUNCTION (TABLE table)
Source

table.lisp (file)

Generic Function: map-queue Q FN &key REVERSE
Package

stdutils

Methods
Method: map-queue (Q list-queue) FN &key REVERSE

Traverse the queue from most to least recent push collecting the results of applying fn to the data in each queue position

Source

queue.lisp (file)

Generic Function: map-values FUNCTION STRUCT

Maps over just the values for keyed structures

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: map-values FUNCTION (TABLE table)
Source

table.lisp (file)

Generic Function: new-id IDGEN
Package

stdutils

Methods
Method: new-id (IDGEN id-generator)
Source

collections.lisp (file)

Generic Function: next ITER

An function for getting the next element from a structure or iterator.
It takes an optional reference to an element (ie next/prev)

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: next (ITER vector-keyed-table-iterator)

Invariant: stack always contains a null, exhausted or intermediate table iterator

Source

vector-keyed-table.lisp (file)

Method: next (ITER hashed-table-iterator)
Source

hashed-table.lisp (file)

Method: next (ITER assoc-table-iterator)
Source

assoc-table.lisp (file)

Generic Function: next-p ITER

Predicate form of next

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: next-p (ITER vector-keyed-table-iterator)
Source

vector-keyed-table.lisp (file)

Method: next-p (ITER hashed-table-iterator)
Source

hashed-table.lisp (file)

Method: next-p (ITER assoc-table-iterator)
Source

assoc-table.lisp (file)

Generic Function: peek Q &key LOCATION
Package

stdutils

Methods
Method: peek (Q list-queue) &key LOCATION
Source

queue.lisp (file)

Generic Function: predecessor Q &optional ITEM
Package

stdutils

Methods
Method: predecessor (Q list-queue) &optional ITEM
Source

queue.lisp (file)

Generic Function: push-front Q DATUM
Package

stdutils

Methods
Method: push-front (Q list-queue) DATUM
Source

queue.lisp (file)

Generic Function: queue-clear QUEUE
Package

stdutils

Methods
Method: queue-clear (QUEUE list-queue)
Source

queue.lisp (file)

Generic Function: queue-element-to-front QUEUE ELEMENT
Package

stdutils

Methods
Method: queue-element-to-front (QUEUE list-queue) ELEMENT
Source

queue.lisp (file)

Generic Function: queue-empty-p QUEUE
Package

stdutils

Methods
Method: queue-empty-p (QUEUE list-queue)
Source

queue.lisp (file)

Generic Function: queue-head OBJECT
Generic Function: (setf queue-head) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: queue-head (LIST-QUEUE list-queue)

automatically generated reader method

Source

queue.lisp (file)

Method: (setf queue-head) NEW-VALUE (LIST-QUEUE list-queue)

automatically generated writer method

Source

queue.lisp (file)

Generic Function: queue-size OBJECT
Generic Function: (setf queue-size) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: queue-size (LIST-QUEUE list-queue)

automatically generated reader method

Source

queue.lisp (file)

Method: (setf queue-size) NEW-VALUE (LIST-QUEUE list-queue)

automatically generated writer method

Source

queue.lisp (file)

Generic Function: read-cache C KEY
Package

stdutils

Methods
Method: read-cache (C object-cache-h-q) KEY
Source

cache.lisp (file)

Generic Function: register REGISTRY OBJECT
Package

stdutils

Methods
Method: register (REGISTRY object-registry) OBJECT
Source

collections.lisp (file)

Generic Function: reset ITER
Package

stdutils.gds

Methods
Method: reset (ITER vector-keyed-table-iterator)
Source

vector-keyed-table.lisp (file)

Method: reset (ITER hashed-table-iterator)
Source

hashed-table.lisp (file)

Method: reset (ITER assoc-table-iterator)
Source

assoc-table.lisp (file)

Generic Function: resize C NEW-SIZE
Package

stdutils

Methods
Method: resize (C object-cache-h-q) NEW-SIZE
Source

cache.lisp (file)

Generic Function: search-for-entry Q ITEM &key KEY TEST HEAD &allow-other-keys
Package

stdutils

Methods
Method: search-for-entry (Q list-queue-elt) ITEM &key KEY TEST HEAD
Source

queue.lisp (file)

Method: search-for-entry (Q list-queue) ITEM &key KEY TEST &allow-other-keys
Source

queue.lisp (file)

Generic Function: show-cache C &key OLDEST-FIRST
Package

stdutils

Methods
Method: show-cache (C object-cache-h-q) &key OLDEST-FIRST
Source

cache.lisp (file)

Generic Function: size-of STRUCT

The number of times you’d have to call add to reproduce this structure

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: size-of (TABLE vector-keyed-table)
Source

vector-keyed-table.lisp (file)

Method: size-of (TABLE hashed-table)
Source

hashed-table.lisp (file)

Method: size-of (TABLE assoc-table)
Source

assoc-table.lisp (file)

Generic Function: storage-allocated STRUCT

The number of add operations reserved in memory for this ds

Package

stdutils.gds

Source

gds.lisp (file)

Methods
Method: storage-allocated (TABLE vector-keyed-table)
Source

vector-keyed-table.lisp (file)

Method: storage-allocated (TABLE hashed-table)
Source

hashed-table.lisp (file)

Method: storage-allocated (TABLE table)
Source

table.lisp (file)

Generic Function: successor Q &optional ITEM
Package

stdutils

Methods
Method: successor (Q list-queue) &optional ITEM
Source

queue.lisp (file)

Generic Function: table-elements TABLE
Package

stdutils.gds

Methods
Method: table-elements (TABLE table)
Source

table.lisp (file)

Generic Function: table-keys TABLE
Package

stdutils.gds

Methods
Method: table-keys (TABLE table)
Source

table.lisp (file)

Generic Function: table-values TABLE
Package

stdutils.gds

Methods
Method: table-values (TABLE table)
Source

table.lisp (file)

Generic Function: valid-id-p IDGEN ID
Package

stdutils

Methods
Method: valid-id-p (IDGEN id-generator) ID
Source

collections.lisp (file)

Generic Function: write-cache C KEY OBJECT &key FORCE
Package

stdutils

Methods
Method: write-cache (C object-cache-h-q) KEY OBJECT &key FORCE

Ensure the object is in the cache; return the object

Source

cache.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.6 Classes

Class: assoc-table ()
Package

stdutils.gds

Source

assoc-table.lisp (file)

Direct superclasses

table (class)

Direct methods
Direct slots
Slot: alist
Initargs

:alist

Readers

alist (generic function)

Writers

(setf alist) (generic function)

Slot: key-test
Initargs

:key-test

Initform

(function eq)

Readers

key-test (generic function)

Writers

(setf key-test) (generic function)

Class: assoc-table-iterator ()
Package

stdutils.gds

Source

assoc-table.lisp (file)

Direct superclasses

iterator (class)

Direct methods
Direct slots
Slot: current
Initargs

:current

Readers

current-ptr (generic function)

Writers

(setf current-ptr) (generic function)

Slot: reference
Initargs

:reference

Readers

reference (generic function)

Writers

(setf reference) (generic function)

Slot: last
Readers

last-ptr (generic function)

Writers

(setf last-ptr) (generic function)

Slot: type

Type can be :key, :value or :pair

Initargs

:type

Readers

iter-type (generic function)

Writers

(setf iter-type) (generic function)

Class: bidir-index ()
Package

stdutils

Source

collections.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses

object-registry (class)

Direct methods
Direct slots
Slot: by-id
Initargs

:by-id

Initform

(stdutils:hash)

Readers

bidir-index-by-id (generic function)

Writers

(setf bidir-index-by-id) (generic function)

Slot: by-obj
Initargs

:by-obj

Initform

(stdutils:hash)

Readers

bidir-index-by-obj (generic function)

Writers

(setf bidir-index-by-obj) (generic function)

Class: hashed-table ()
Package

stdutils.gds

Source

hashed-table.lisp (file)

Direct superclasses

table (class)

Direct methods
Direct slots
Slot: table
Initargs

:hash

Initform

(stdutils:hash)

Readers

hashed-table-ref (generic function)

Writers

(setf hashed-table-ref) (generic function)

Class: hashed-table-iterator ()
Package

stdutils.gds

Source

hashed-table.lisp (file)

Direct superclasses

iterator (class)

Direct methods
Direct slots
Slot: reference
Initargs

:reference

Readers

reference (generic function)

Writers

(setf reference) (generic function)

Slot: list
Readers

list-ptr (generic function)

Writers

(setf list-ptr) (generic function)

Slot: last
Readers

last-ptr (generic function)

Writers

(setf last-ptr) (generic function)

Slot: type

Type can be :key, :value or :pair

Initargs

:type

Readers

iter-type (generic function)

Writers

(setf iter-type) (generic function)

Class: id-generator ()
Package

stdutils

Source

collections.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses

object-registry (class)

Direct methods
Direct slots
Slot: id
Initargs

:id

Readers

id-generator-id (generic function)

Writers

(setf id-generator-id) (generic function)

Class: iterator ()
Package

stdutils.gds

Source

iterator.lisp (file)

Direct superclasses

standard-protocol (class)

Direct subclasses
Direct methods
Direct slots
Slot: operations
Initform

(quote (stdutils.gds:next stdutils.gds:next-p stdutils.gds:drop-last stdutils.gds:reset stdutils.gds:clear))

Readers

protocol-operations (generic function)

Writers

(setf protocol-operations) (generic function)

Class: list-queue ()

Queue object, contains the head element and some stats

Package

stdutils

Source

queue.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses

safe-list-queue (class)

Direct methods
Direct slots
Slot: size
Initform

0

Readers

queue-size (generic function)

Writers

(setf queue-size) (generic function)

Slot: head
Readers

queue-head (generic function)

Writers

(setf queue-head) (generic function)

Class: list-queue-elt ()

An element forming a queue, the provided element is treated as a head for push/pop operations

Package

stdutils

Source

queue.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: pred
Initargs

:pred

Readers

pred (generic function)

Writers

(setf pred) (generic function)

Slot: succ
Initargs

:succ

Readers

succ (generic function)

Writers

(setf succ) (generic function)

Slot: data
Initargs

:data

Readers

get-data (generic function)

Writers

(setf get-data) (generic function)

Class: object-cache-h-q ()

A cache of objects using arbitrary keys

Package

stdutils

Source

cache.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: index
Type

hash-table

Readers

object-cache-h-q-index (generic function)

Writers

(setf object-cache-h-q-index) (generic function)

Slot: queue
Type

stdutils:list-queue

Readers

object-cache-h-q-queue (generic function)

Writers

(setf object-cache-h-q-queue) (generic function)

Slot: max-size
Type

fixnum

Readers

object-cache-h-q-max-size (generic function)

Writers

(setf object-cache-h-q-max-size) (generic function)

Slot: size
Type

fixnum

Initform

0

Readers

object-cache-h-q-size (generic function)

Writers

(setf object-cache-h-q-size) (generic function)

Class: object-registry ()
Package

stdutils

Source

collections.lisp (file)

Direct superclasses
Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

object-registry-name (generic function)

Writers

(setf object-registry-name) (generic function)

Slot: id
Initargs

:id

Initform

0

Readers

object-registry-id (generic function)

Writers

(setf object-registry-id) (generic function)

Class: safe-list-queue ()
Package

stdutils

Source

queue.lisp (file)

Direct superclasses
Class: scalable-set ()
Package

stdutils

Source

collections.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: type
Initargs

:type

Initform

:list

Readers

set-type (generic function)

Writers

(setf set-type) (generic function)

Slot: rep
Initargs

:rep

Readers

set-rep (generic function)

Writers

(setf set-rep) (generic function)

Slot: membership
Initargs

:membership

Initform

(function eq)

Readers

set-membership (generic function)

Writers

(setf set-membership) (generic function)

Class: standard-protocol ()
Package

stdutils.gds

Source

gds.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Class: table ()
Package

stdutils.gds

Source

table.lisp (file)

Direct superclasses

standard-protocol (class)

Direct subclasses
Direct methods
Direct slots
Slot: operations
Initform

(quote (stdutils.gds:add stdutils:drop stdutils.gds:get-value (setf stdutils.gds:get-value) stdutils.gds:find-value stdutils.gds:contains stdutils.gds:clear stdutils.gds:empty stdutils.gds:copy stdutils.gds:convert stdutils.gds:size-of stdutils.gds:storage-allocated stdutils.gds:copy stdutils.gds:convert stdutils.gds:table-elements stdutils.gds:table-keys stdutils.gds:table-values stdutils.gds:map-elements stdutils.gds:map-keys stdutils.gds:map-values stdutils.gds:get-iterator))

Readers

protocol-operations (generic function)

Writers

(setf protocol-operations) (generic function)

Class: vector-keyed-table ()
Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Direct superclasses

table (class)

Direct methods
Direct slots
Slot: root
Initargs

:root

Readers

table-root (generic function)

Writers

(setf table-root) (generic function)

Slot: threshold
Initargs

:threshold

Initform

stdutils.gds::*vechash-threshold*

Readers

vhash-threshold (generic function)

Slot: count
Initform

0

Readers

table-count (generic function)

Writers

(setf table-count) (generic function)


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Constants

Constant: +char-code-0+
Package

stdutils

Source

strings.lisp (file)

Constant: +char-code-lower-a+
Package

stdutils

Source

strings.lisp (file)

Constant: +char-code-upper-a+
Package

stdutils

Source

strings.lisp (file)

Constant: +unambiguous-length+
Package

stdutils

Source

strings.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Special variables

Special Variable: *ampm*

Map AM, PM, & O’CLOCK strings to symbols for use when figuring the universal time from a broken time.

Package

stdutils

Source

time.lisp (file)

Special Variable: *count-updated*
Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Special Variable: *debug*
Package

stdutils

Source

time.lisp (file)

Special Variable: *format-time-fns*
Package

stdutils

Source

time.lisp (file)

Special Variable: *format-time-months*
Package

stdutils

Source

time.lisp (file)

Special Variable: *format-time-weekdays*
Package

stdutils

Source

time.lisp (file)

Special Variable: *ids-word*
Package

stdutils

Source

wordseq.lisp (file)

Special Variable: *months*

Map month names & abbreviations to their numbers.

Package

stdutils

Source

time.lisp (file)

Special Variable: *scalable-set-threshold*
Package

stdutils

Source

collections.lisp (file)

Special Variable: *set-interface-definition*
Package

stdutils

Source

collections.lisp (file)

Special Variable: *string-ops*
Package

stdutils

Source

lists.lisp (file)

Special Variable: *term-parsers*

Maps format descriptors to the functions that parse them. Keys are format descriptors, which are strings such as ’%Y’. Values are functions which extract & return a CONS for an assoc-list or NIL.

Package

stdutils

Source

time.lisp (file)

Special Variable: *vechash-threshold*
Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Special Variable: *vector-keyed-threshold*

When to switch internally from assoc list to hash table

Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Special Variable: *weekdays*

Map weekday names & abbreviations to truth. We don’t use the weekday when figuring the universal time, so we don’t map to anything other than true. The true simply indicates that we recognize the term as a weekday name.

Package

stdutils

Source

time.lisp (file)

Special Variable: *whitespace-chars*
Package

stdutils

Source

strings.lisp (file)

Special Variable: *word-count*
Package

stdutils

Source

wordseq.lisp (file)

Special Variable: *word-ids*
Package

stdutils

Source

wordseq.lisp (file)

Special Variable: *zones*
Package

stdutils

Source

time.lisp (file)

Special Variable: +hex-chars+
Package

stdutils

Source

strings.lisp (file)

Special Variable: +unambiguous-charset+
Package

stdutils

Source

strings.lisp (file)

Special Variable: if*-keyword-list
Package

stdutils

Source

ifstar.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Macros

Macro: >case EXPR &rest CLAUSES
Package

stdutils

Source

conditionals.lisp (file)

Macro: _f OP PLACE &rest ARGS
Package

stdutils

Source

setf.lisp (file)

Macro: allf VAL &rest ARGS
Package

stdutils

Source

setf.lisp (file)

Macro: conc1f PLACE OBJ
Package

stdutils

Source

setf.lisp (file)

Macro: concf PLACE OBJ
Package

stdutils

Source

setf.lisp (file)

Macro: concnew PLACE OBJ &rest ARGS
Package

stdutils

Source

setf.lisp (file)

Macro: condlet CLAUSES &body BODY
Package

stdutils

Source

conditionals.lisp (file)

Macro: fn EXPR
Package

stdutils

Source

functions.lisp (file)

Macro: if3 TEST T-CASE NIL-CASE ?-CASE
Package

stdutils

Source

conditionals.lisp (file)

Macro: in OBJ &rest CHOICES

Test whether object is a eql to any of the remaining arguments, faster form of (member obj choices :test #’eql)

Package

stdutils

Source

conditionals.lisp (file)

Macro: in-if FN &rest CHOICES
Package

stdutils

Source

conditionals.lisp (file)

Macro: inq OBJ &rest ARGS

Same as in but quote the arguments during macroexpansion

Package

stdutils

Source

conditionals.lisp (file)

Macro: mvpass2 FORM
Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Macro: nilf &rest ARGS
Package

stdutils

Source

setf.lisp (file)

Macro: pat-match PAT SEQ THEN ELSE
Package

stdutils

Source

match.lisp (file)

Macro: popn N PLACE
Package

stdutils

Source

setf.lisp (file)

Macro: pull OBJ PLACE &rest ARGS
Package

stdutils

Source

setf.lisp (file)

Macro: pull-if TEST PLACE &rest ARGS
Package

stdutils

Source

setf.lisp (file)

Macro: sop STRING &rest ARGS
Package

stdutils

Source

lists.lisp (file)

Macro: sortf OP &rest PLACES
Package

stdutils

Source

setf.lisp (file)

Macro: tf &rest ARGS
Package

stdutils

Source

setf.lisp (file)

Macro: toggle &rest ARGS
Package

stdutils

Source

setf.lisp (file)

Macro: toggle2 PLACE
Package

stdutils

Source

setf.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Functions

Function: >casex G CL
Package

stdutils

Source

conditionals.lisp (file)

Function: binding X BINDS
Package

stdutils

Source

match.lisp (file)

Function: broken-time-ampm INSTANCE
Function: (setf broken-time-ampm) VALUE INSTANCE
Package

stdutils

Source

time.lisp (file)

Function: broken-time-dd INSTANCE
Function: (setf broken-time-dd) VALUE INSTANCE
Package

stdutils

Source

time.lisp (file)

Function: broken-time-dow INSTANCE
Function: (setf broken-time-dow) VALUE INSTANCE
Package

stdutils

Source

time.lisp (file)

Function: broken-time-dst? INSTANCE
Function: (setf broken-time-dst?) VALUE INSTANCE
Package

stdutils

Source

time.lisp (file)

Function: broken-time-hh INSTANCE
Function: (setf broken-time-hh) VALUE INSTANCE
Package

stdutils

Source

time.lisp (file)

Function: broken-time-mm INSTANCE
Function: (setf broken-time-mm) VALUE INSTANCE
Package

stdutils

Source

time.lisp (file)

Function: broken-time-mo INSTANCE
Function: (setf broken-time-mo) VALUE INSTANCE
Package

stdutils

Source

time.lisp (file)

Function: broken-time-p OBJECT
Package

stdutils

Source

time.lisp (file)

Function: broken-time-ss INSTANCE
Function: (setf broken-time-ss) VALUE INSTANCE
Package

stdutils

Source

time.lisp (file)

Function: broken-time-yr INSTANCE
Function: (setf broken-time-yr) VALUE INSTANCE
Package

stdutils

Source

time.lisp (file)

Function: broken-time-zone INSTANCE
Function: (setf broken-time-zone) VALUE INSTANCE
Package

stdutils

Source

time.lisp (file)

Function: broken-to-ut X

Given a BROKEN time structure, conver them
to a universal time & return the universal time. All of the date-&-time components must be present in the BROKEN time.

Package

stdutils

Source

time.lisp (file)

Function: build-call OP FNS
Package

stdutils

Source

functions.lisp (file)

Function: build-compose FNS
Package

stdutils

Source

functions.lisp (file)

Function: build-sop INPUT-EXPR ARGS
Package

stdutils

Source

lists.lisp (file)

Function: collect-token WIDTH GOOD-CHAR? STRM

Collect characters from character input stream STRM until we have WIDTH characters or the next character is not acceptable according to GOOD-CHAR?, which is a function. Return the characters we collected, as a string.

Package

stdutils

Source

time.lisp (file)

Function: condlet-binds VARS CL
Package

stdutils

Source

conditionals.lisp (file)

Function: condlet-clause VARS CL BODFN
Package

stdutils

Source

conditionals.lisp (file)

Function: convert-fmt-string-to-list FMT

Given a FMT string for FORMAT-TIME, return a list of substrings parsed from the FMT string.

Package

stdutils

Source

time.lisp (file)

Function: copy-broken-time INSTANCE
Package

stdutils

Source

time.lisp (file)

Function: create-broken X

Return a new BROKEN with members initialized from X. X may be a universal time or an association list.

Package

stdutils

Source

time.lisp (file)

Function: create-range DIST &optional PRIOR-SUM
Package

stdutils

Source

random.lisp (file)

Function: destruc PAT SEQ &optional ATOM? N
Package

stdutils

Source

functions.lisp (file)

Function: drop-vknode-value TNODE STACK

Clear value in target node (tnode) and if alist is size zero or nil, delete entry in parent table (snode) and, if zero, also delete

Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Function: drop-vktable-entry KEY NODE STACK
Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Function: end-of-stream? STRM

Return true if STRM is at its end. Does not consume characters. STRM is a character input stream.

Package

stdutils

Source

time.lisp (file)

Function: end-of-vkey VKEY INDEX
Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Function: ensure-vktable NODE

Ensure that the provided node has a proper table for the next recusion of vector-keyed-put

Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Function: expand-expr TEMPLATE ARGUMENT
Package

stdutils

Source

lists.lisp (file)

Function: extend-vktable TABLE KEY

Add a vk node to the table for key

Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Function: extract-assoc-type ACELL TYPE
Package

stdutils.gds

Source

assoc-table.lisp (file)

Function: fif IF THEN &optional ELSE
Package

stdutils

Source

functions.lisp (file)

Function: fint FN &rest FNS
Package

stdutils

Source

functions.lisp (file)

Function: format-time STRM FMT &optional UT ZONE LANGUAGE
Package

stdutils

Source

time.lisp (file)

Function: fun FN &rest FNS
Package

stdutils

Source

functions.lisp (file)

Function: gen-match REFS THEN ELSE
Package

stdutils

Source

match.lisp (file)

Function: gensym? S
Package

stdutils

Source

match.lisp (file)

Function: hash-table->alist HASH
Package

stdutils.gds

Source

hashed-table.lisp (file)

Function: is-day? X
Package

stdutils

Source

time.lisp (file)

Function: is-hour? X
Package

stdutils

Source

time.lisp (file)

Function: is-minute? X
Package

stdutils

Source

time.lisp (file)

Function: is-second? X
Package

stdutils

Source

time.lisp (file)

Function: is-year? X
Package

stdutils

Source

time.lisp (file)

Function: join-op INTERP LIST
Package

stdutils

Source

lists.lisp (file)

Function: length-test PAT REST
Package

stdutils

Source

match.lisp (file)

Function: list-or-struct LIST COUNT
Package

stdutils

Source

lists.lisp (file)

Function: lookup-op NAME
Package

stdutils

Source

lists.lisp (file)

Function: lookup-oprec NAME
Package

stdutils

Source

lists.lisp (file)

Function: make-broken-time &key (SS SS) (MM MM) (HH HH) (DD DD) (MO MO) (YR YR) (DOW DOW) (DST? DST?) (ZONE ZONE) (AMPM AMPM)
Package

stdutils

Source

time.lisp (file)

Function: make-fmt-recognizer FMT
Package

stdutils

Source

time.lisp (file)

Function: make-month X
Package

stdutils

Source

time.lisp (file)

Function: make-numeric-parser WIDTH MIN MAX FIELD

Return a function which parses a numeric token of at most WIDTH digits, translating to a number not less than MIN & not more than MAX. For example, if WIDTH, MIN, & MAX are 4, 100, & 9000, you get a function which parses at most 4 digits that form a number N in the range 100 <= N <= 9000.

Package

stdutils

Source

time.lisp (file)

Function: make-vknode &optional VALUE TABLE
Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Function: make-word-parser WIDTH HT FIELD

Return a function which parses consecutive alpha- & numeric characters, up to WIDTH of them, & then converts them to a Lisp object via the HT hash table.

Package

stdutils

Source

time.lisp (file)

Function: make-wseq-old STR
Package

stdutils

Source

wordseq.lisp (file)

Function: make-zone X
Package

stdutils

Source

time.lisp (file)

Function: match-arrays OFFSET PATTERN &key ELT CMP ATOM-TYPE
Package

stdutils

Source

match.lisp (file)

Function: match1 REFS THEN ELSE
Package

stdutils

Source

match.lisp (file)

Function: max-array-tr ARRAY START
Package

stdutils

Source

lists.lisp (file)

Function: next-fn STRM FN

Consume & collect characters from STRM as long as they satisfy FN. FN is a function of one argument which should be a character.

Package

stdutils

Source

time.lisp (file)

Function: next-number STRM

Consume characters from STRM as long as they are digits. Then convert to a number & return the number.

Package

stdutils

Source

time.lisp (file)

Function: next-token STRM
Package

stdutils

Source

time.lisp (file)

Function: next-word STRM

Consume & collect characters from STRM as long as they are alphanumeric. Converts all characters to upper case. Returns the token as a string. Return NIL if the stream is already at the end when you call this function.

Package

stdutils

Source

time.lisp (file)

Function: normalize-broken X

Given a BROKEN-TIME, some components of
which may be missing, some of which may be screwy – like a 2-digit year, this function inserts all missing components, possibly performs some other adjustments, & returns a new BROKEN-TIME. An exception is time-zone; if it’s missing, it won’t be inserted.

Package

stdutils

Source

time.lisp (file)

Function: normalize-hour BROKEN
Package

stdutils

Source

time.lisp (file)

Function: parse-literal LITERAL STRM

Match & consume the literal characters in the string LITERAL from the input stream STRM. If all the charactrs in LITERAL match the next characters from STRM, return CONS :LITERAL LITERAL. Otherwise, Nil.

Package

stdutils

Source

time.lisp (file)

Function: parse-method-spec SPEC
Package

stdutils

Source

clos.lisp (file)

Function: parse-percent-percent STRM

Recognize the literal ’%’ character. This is for the ’%%’ format token.

Package

stdutils

Source

time.lisp (file)

Function: parse-time STR &optional RECOGNIZERS

Parse a string containing a date-&-time. Return a universal time. If the string can’t be recognized, return NIL.

Package

stdutils

Source

time.lisp (file)

Function: parse-time-zone STRM

Jeezus fucking Krist I hate time zones. A bitch to parse. And a stupid idea to begin with. Fuuuuuck.
Recognize a time zone token from STRM. If the next character is + or -, we expect a two-digit number of hours to follow, such as 7 or 5. After those numbers, the next character may be ’:’ (which is ignored), & then two-digit number of minutes. If the first token of STRM is alpha instead of + or -, we collect alpha-numeric characters into a token, then translate them to a numeric time zone via a hash table.

Package

stdutils

Source

time.lisp (file)

Function: parse-time-zone-minus STRM

Parse the rest of a time zone assuming it begins with a - character. It starts with a two-digit hour.

Package

stdutils

Source

time.lisp (file)

Function: parse-time-zone-minus-hour STRM HOUR

Parse the minutes, assuming we’ve already parsed the hour.

Package

stdutils

Source

time.lisp (file)

Function: parse-time-zone-plus STRM

Parse a time zone assuming the first character of it was a + character.

Package

stdutils

Source

time.lisp (file)

Function: random-choice-dist LIST DIST

A random choice from list using the enumerated probability distribution in dist

Package

stdutils

Source

random.lisp (file)

Function: rbuild EXPR
Package

stdutils

Source

functions.lisp (file)

Function: recognize-minimal-iso STR

The string is minimal ISO if, after trimming leading & trailing crap, the string is 14 characters & they are all digits.

Package

stdutils

Source

time.lisp (file)

Function: recognize-now STR TOKENS

Parse the string ’now’, in any mix of case & with or without leading or trailing crap ... er, I mean whitespace characters. NOW is the current time with resolution to the second.

Package

stdutils

Source

time.lisp (file)

Function: recognize-tee-iso STR

Tee-ISO is like minimal ISO except that is has a T character in the middle of it.

Package

stdutils

Source

time.lisp (file)

Function: recognize-today STR TOKENS

Parse the string ’today’, in any mix of case & with or without leading or trailing crap ... er, I mean whitespace characters. Today is the current year, month, & day, the default hour, 0 for minutes, & 0 for seconds. It assumes GMT so that today executed at the same time in different time zones will give you the same universal time.

Package

stdutils

Source

time.lisp (file)

Function: recognize-verbose-iso STR TOKENS
Package

stdutils

Source

time.lisp (file)

Function: recognize-yyyymmdd-nw STR TOKENS

Recognize YYYY MM DD, with only whitespace separating the tokens. There is no time zone.

Package

stdutils

Source

time.lisp (file)

Function: sampled-dist FN ITERS &optional VALUES

Compute an estimated probability over equal comparable values from successive no-arg calls to fn over iters. Returns of an alist of (value . prob)

Package

stdutils

Source

random.lisp (file)

Function: simple? X
Package

stdutils

Source

match.lisp (file)

Function: split-file INFILE OUTFILE1 OUTFILE2 &key TYPE

Allows you to split a file by :alternate lines or to split it in half by length

Package

stdutils

Source

file.lisp (file)

Function: split-from-end ()
Package

split-sequence

Source

/home/quickbuilder/quicklisp/dists/quicklisp/software/split-sequence-v1.4.1/split-sequence.lisp

Function: split-from-start ()
Package

split-sequence

Source

/home/quickbuilder/quicklisp/dists/quicklisp/software/split-sequence-v1.4.1/split-sequence.lisp

Function: time-zone-char? X

Return true if & only if X is a character & is acceptable in a time zone.

Package

stdutils

Source

time.lisp (file)

Function: tokenize STR

Return a list of tokens. Where possible & convenient, tokens are converted to symbols & numbers. Otherwise, tokens are strings or single characters, always upper case.

Package

stdutils

Source

time.lisp (file)

Function: unique-word-id ()
Package

stdutils

Source

wordseq.lisp (file)

Function: upgrade-vknode NODE

Upgrade vktable entry from assoc to hashed when the size exceeds the vk threshold. Do this to the table in the provided vknode. Also downgrade (is this a good idea as it may cause thrashing?)

Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Function: varsym? X
Package

stdutils

Source

match.lisp (file)

Function: vector-keyed-get VKTABLE VKEY

Internal recursion to walk tree and return value for vector key: vkey

Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Function: vector-keyed-put VKTABLE VKEY VALUE

Internal recursion to walk tree and add or modify a value for vector key: vkey

Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Function: vector-keyed-rem VKTABLE VKEY

Remove a vector keyed value from the vktable and clean up any empty nodes or tables created thereby. Also decrement the count

Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Function: vknode-table NODE
Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Setf Expander

(setf vknode-table) (setf expander)

Setf Expander: (setf vknode-table) CONS X
Package

stdutils.gds

Source

SYS:SRC;CODE;LIST.LISP (not found)

Reader

vknode-table (function)

Writer

rplacd (function)

Function: vknode-value NODE
Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Setf Expander

(setf vknode-value) (setf expander)

Setf Expander: (setf vknode-value) CONS X
Package

stdutils.gds

Source

SYS:SRC;CODE;LIST.LISP (not found)

Reader

vknode-value (function)

Writer

rplaca (function)

Function: vktable-get-extend VKTABLE NODE KEY &aux TABLE

Get node from table. If new node, update vktable item count add a new node to the table for key. If table has exceeded size, upgrade it to a hashed table and return the new node

Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Function: vkti-next-value ITER
Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Function: xdigit? X

Return true if X is a character AND is a digit.

Package

stdutils

Source

time.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.5 Generic functions

Generic Function: alist OBJECT
Generic Function: (setf alist) NEW-VALUE OBJECT
Package

stdutils.gds

Methods
Method: alist (ASSOC-TABLE assoc-table)

automatically generated reader method

Source

assoc-table.lisp (file)

Method: (setf alist) NEW-VALUE (ASSOC-TABLE assoc-table)

automatically generated writer method

Source

assoc-table.lisp (file)

Generic Function: bidir-index-by-id OBJECT
Generic Function: (setf bidir-index-by-id) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: bidir-index-by-id (BIDIR-INDEX bidir-index)

automatically generated reader method

Source

collections.lisp (file)

Method: (setf bidir-index-by-id) NEW-VALUE (BIDIR-INDEX bidir-index)

automatically generated writer method

Source

collections.lisp (file)

Generic Function: bidir-index-by-obj OBJECT
Generic Function: (setf bidir-index-by-obj) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: bidir-index-by-obj (BIDIR-INDEX bidir-index)

automatically generated reader method

Source

collections.lisp (file)

Method: (setf bidir-index-by-obj) NEW-VALUE (BIDIR-INDEX bidir-index)

automatically generated writer method

Source

collections.lisp (file)

Generic Function: current-ptr OBJECT
Generic Function: (setf current-ptr) NEW-VALUE OBJECT
Package

stdutils.gds

Methods
Method: current-ptr (ASSOC-TABLE-ITERATOR assoc-table-iterator)

automatically generated reader method

Source

assoc-table.lisp (file)

Method: (setf current-ptr) NEW-VALUE (ASSOC-TABLE-ITERATOR assoc-table-iterator)

automatically generated writer method

Source

assoc-table.lisp (file)

Generic Function: get-data OBJECT
Generic Function: (setf get-data) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: get-data (LIST-QUEUE-ELT list-queue-elt)

automatically generated reader method

Source

queue.lisp (file)

Method: (setf get-data) NEW-VALUE (LIST-QUEUE-ELT list-queue-elt)

automatically generated writer method

Source

queue.lisp (file)

Generic Function: hashed-table-ref OBJECT
Generic Function: (setf hashed-table-ref) NEW-VALUE OBJECT
Package

stdutils.gds

Methods
Method: hashed-table-ref (HASHED-TABLE hashed-table)

automatically generated reader method

Source

hashed-table.lisp (file)

Method: (setf hashed-table-ref) NEW-VALUE (HASHED-TABLE hashed-table)

automatically generated writer method

Source

hashed-table.lisp (file)

Generic Function: id-generator-id OBJECT
Generic Function: (setf id-generator-id) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: id-generator-id (ID-GENERATOR id-generator)

automatically generated reader method

Source

collections.lisp (file)

Method: (setf id-generator-id) NEW-VALUE (ID-GENERATOR id-generator)

automatically generated writer method

Source

collections.lisp (file)

Generic Function: iter-type OBJECT
Generic Function: (setf iter-type) NEW-VALUE OBJECT
Package

stdutils.gds

Methods
Method: iter-type (VECTOR-KEYED-TABLE-ITERATOR vector-keyed-table-iterator)

automatically generated reader method

Source

vector-keyed-table.lisp (file)

Method: (setf iter-type) NEW-VALUE (VECTOR-KEYED-TABLE-ITERATOR vector-keyed-table-iterator)

automatically generated writer method

Source

vector-keyed-table.lisp (file)

Method: iter-type (HASHED-TABLE-ITERATOR hashed-table-iterator)
Method: (setf iter-type) NEW-VALUE (HASHED-TABLE-ITERATOR hashed-table-iterator)

Type can be :key, :value or :pair

Source

hashed-table.lisp (file)

Method: iter-type (ASSOC-TABLE-ITERATOR assoc-table-iterator)
Method: (setf iter-type) NEW-VALUE (ASSOC-TABLE-ITERATOR assoc-table-iterator)

Type can be :key, :value or :pair

Source

assoc-table.lisp (file)

Generic Function: key-test OBJECT
Generic Function: (setf key-test) NEW-VALUE OBJECT
Package

stdutils.gds

Methods
Method: key-test (ASSOC-TABLE assoc-table)

automatically generated reader method

Source

assoc-table.lisp (file)

Method: (setf key-test) NEW-VALUE (ASSOC-TABLE assoc-table)

automatically generated writer method

Source

assoc-table.lisp (file)

Generic Function: last-key OBJECT
Generic Function: (setf last-key) NEW-VALUE OBJECT
Package

stdutils.gds

Methods
Method: last-key (VECTOR-KEYED-TABLE-ITERATOR vector-keyed-table-iterator)

automatically generated reader method

Source

vector-keyed-table.lisp (file)

Method: (setf last-key) NEW-VALUE (VECTOR-KEYED-TABLE-ITERATOR vector-keyed-table-iterator)

automatically generated writer method

Source

vector-keyed-table.lisp (file)

Generic Function: last-ptr OBJECT
Generic Function: (setf last-ptr) NEW-VALUE OBJECT
Package

stdutils.gds

Methods
Method: last-ptr (HASHED-TABLE-ITERATOR hashed-table-iterator)

automatically generated reader method

Source

hashed-table.lisp (file)

Method: (setf last-ptr) NEW-VALUE (HASHED-TABLE-ITERATOR hashed-table-iterator)

automatically generated writer method

Source

hashed-table.lisp (file)

Method: last-ptr (ASSOC-TABLE-ITERATOR assoc-table-iterator)

automatically generated reader method

Source

assoc-table.lisp (file)

Method: (setf last-ptr) NEW-VALUE (ASSOC-TABLE-ITERATOR assoc-table-iterator)

automatically generated writer method

Source

assoc-table.lisp (file)

Generic Function: list-ptr OBJECT
Generic Function: (setf list-ptr) NEW-VALUE OBJECT
Package

stdutils.gds

Methods
Method: list-ptr (HASHED-TABLE-ITERATOR hashed-table-iterator)

automatically generated reader method

Source

hashed-table.lisp (file)

Method: (setf list-ptr) NEW-VALUE (HASHED-TABLE-ITERATOR hashed-table-iterator)

automatically generated writer method

Source

hashed-table.lisp (file)

Generic Function: object-cache-h-q-index OBJECT
Generic Function: (setf object-cache-h-q-index) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: object-cache-h-q-index (OBJECT-CACHE-H-Q object-cache-h-q)

automatically generated reader method

Source

cache.lisp (file)

Method: (setf object-cache-h-q-index) NEW-VALUE (OBJECT-CACHE-H-Q object-cache-h-q)

automatically generated writer method

Source

cache.lisp (file)

Generic Function: object-cache-h-q-max-size OBJECT
Generic Function: (setf object-cache-h-q-max-size) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: object-cache-h-q-max-size (OBJECT-CACHE-H-Q object-cache-h-q)

automatically generated reader method

Source

cache.lisp (file)

Method: (setf object-cache-h-q-max-size) NEW-VALUE (OBJECT-CACHE-H-Q object-cache-h-q)

automatically generated writer method

Source

cache.lisp (file)

Generic Function: object-cache-h-q-queue OBJECT
Generic Function: (setf object-cache-h-q-queue) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: object-cache-h-q-queue (OBJECT-CACHE-H-Q object-cache-h-q)

automatically generated reader method

Source

cache.lisp (file)

Method: (setf object-cache-h-q-queue) NEW-VALUE (OBJECT-CACHE-H-Q object-cache-h-q)

automatically generated writer method

Source

cache.lisp (file)

Generic Function: object-cache-h-q-size OBJECT
Generic Function: (setf object-cache-h-q-size) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: object-cache-h-q-size (OBJECT-CACHE-H-Q object-cache-h-q)

automatically generated reader method

Source

cache.lisp (file)

Method: (setf object-cache-h-q-size) NEW-VALUE (OBJECT-CACHE-H-Q object-cache-h-q)

automatically generated writer method

Source

cache.lisp (file)

Generic Function: object-registry-id OBJECT
Generic Function: (setf object-registry-id) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: object-registry-id (OBJECT-REGISTRY object-registry)

automatically generated reader method

Source

collections.lisp (file)

Method: (setf object-registry-id) NEW-VALUE (OBJECT-REGISTRY object-registry)

automatically generated writer method

Source

collections.lisp (file)

Generic Function: object-registry-name OBJECT
Generic Function: (setf object-registry-name) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: object-registry-name (OBJECT-REGISTRY object-registry)

automatically generated reader method

Source

collections.lisp (file)

Method: (setf object-registry-name) NEW-VALUE (OBJECT-REGISTRY object-registry)

automatically generated writer method

Source

collections.lisp (file)

Generic Function: pred OBJECT
Generic Function: (setf pred) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: pred (LIST-QUEUE-ELT list-queue-elt)

automatically generated reader method

Source

queue.lisp (file)

Method: (setf pred) NEW-VALUE (LIST-QUEUE-ELT list-queue-elt)

automatically generated writer method

Source

queue.lisp (file)

Generic Function: protocol-operations OBJECT
Generic Function: (setf protocol-operations) NEW-VALUE OBJECT
Package

stdutils.gds

Methods
Method: protocol-operations (ITERATOR iterator)

automatically generated reader method

Source

iterator.lisp (file)

Method: (setf protocol-operations) NEW-VALUE (ITERATOR iterator)

automatically generated writer method

Source

iterator.lisp (file)

Method: protocol-operations (TABLE table)

automatically generated reader method

Source

table.lisp (file)

Method: (setf protocol-operations) NEW-VALUE (TABLE table)

automatically generated writer method

Source

table.lisp (file)

Generic Function: reference OBJECT
Generic Function: (setf reference) NEW-VALUE OBJECT
Package

stdutils.gds

Methods
Method: reference (VECTOR-KEYED-TABLE-ITERATOR vector-keyed-table-iterator)

automatically generated reader method

Source

vector-keyed-table.lisp (file)

Method: (setf reference) NEW-VALUE (VECTOR-KEYED-TABLE-ITERATOR vector-keyed-table-iterator)

automatically generated writer method

Source

vector-keyed-table.lisp (file)

Method: reference (HASHED-TABLE-ITERATOR hashed-table-iterator)

automatically generated reader method

Source

hashed-table.lisp (file)

Method: (setf reference) NEW-VALUE (HASHED-TABLE-ITERATOR hashed-table-iterator)

automatically generated writer method

Source

hashed-table.lisp (file)

Method: reference (ASSOC-TABLE-ITERATOR assoc-table-iterator)

automatically generated reader method

Source

assoc-table.lisp (file)

Method: (setf reference) NEW-VALUE (ASSOC-TABLE-ITERATOR assoc-table-iterator)

automatically generated writer method

Source

assoc-table.lisp (file)

Generic Function: set-expand SET
Package

stdutils

Methods
Method: set-expand (SET scalable-set)
Source

collections.lisp (file)

Generic Function: set-membership OBJECT
Generic Function: (setf set-membership) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: set-membership (SCALABLE-SET scalable-set)

automatically generated reader method

Source

collections.lisp (file)

Method: (setf set-membership) NEW-VALUE (SCALABLE-SET scalable-set)

automatically generated writer method

Source

collections.lisp (file)

Generic Function: set-rep OBJECT
Generic Function: (setf set-rep) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: set-rep (SCALABLE-SET scalable-set)

automatically generated reader method

Source

collections.lisp (file)

Method: (setf set-rep) NEW-VALUE (SCALABLE-SET scalable-set)

automatically generated writer method

Source

collections.lisp (file)

Generic Function: set-type OBJECT
Generic Function: (setf set-type) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: set-type (SCALABLE-SET scalable-set)

automatically generated reader method

Source

collections.lisp (file)

Method: (setf set-type) NEW-VALUE (SCALABLE-SET scalable-set)

automatically generated writer method

Source

collections.lisp (file)

Generic Function: succ OBJECT
Generic Function: (setf succ) NEW-VALUE OBJECT
Package

stdutils

Methods
Method: succ (LIST-QUEUE-ELT list-queue-elt)

automatically generated reader method

Source

queue.lisp (file)

Method: (setf succ) NEW-VALUE (LIST-QUEUE-ELT list-queue-elt)

automatically generated writer method

Source

queue.lisp (file)

Generic Function: table-count OBJECT
Generic Function: (setf table-count) NEW-VALUE OBJECT
Package

stdutils.gds

Methods
Method: table-count (VECTOR-KEYED-TABLE vector-keyed-table)

automatically generated reader method

Source

vector-keyed-table.lisp (file)

Method: (setf table-count) NEW-VALUE (VECTOR-KEYED-TABLE vector-keyed-table)

automatically generated writer method

Source

vector-keyed-table.lisp (file)

Generic Function: table-root OBJECT
Generic Function: (setf table-root) NEW-VALUE OBJECT
Package

stdutils.gds

Methods
Method: table-root (VECTOR-KEYED-TABLE vector-keyed-table)

automatically generated reader method

Source

vector-keyed-table.lisp (file)

Method: (setf table-root) NEW-VALUE (VECTOR-KEYED-TABLE vector-keyed-table)

automatically generated writer method

Source

vector-keyed-table.lisp (file)

Generic Function: vhash-threshold OBJECT
Package

stdutils.gds

Methods
Method: vhash-threshold (VECTOR-KEYED-TABLE vector-keyed-table)

automatically generated reader method

Source

vector-keyed-table.lisp (file)

Generic Function: vkti-stack OBJECT
Generic Function: (setf vkti-stack) NEW-VALUE OBJECT
Package

stdutils.gds

Methods
Method: vkti-stack (VECTOR-KEYED-TABLE-ITERATOR vector-keyed-table-iterator)

automatically generated reader method

Source

vector-keyed-table.lisp (file)

Method: (setf vkti-stack) NEW-VALUE (VECTOR-KEYED-TABLE-ITERATOR vector-keyed-table-iterator)

automatically generated writer method

Source

vector-keyed-table.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.6 Structures

Structure: broken-time ()
Package

stdutils

Source

time.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: ss
Type

number

Initform

0

Readers

broken-time-ss (function)

Writers

(setf broken-time-ss) (function)

Slot: mm
Type

integer

Initform

0

Readers

broken-time-mm (function)

Writers

(setf broken-time-mm) (function)

Slot: hh
Type

integer

Initform

0

Readers

broken-time-hh (function)

Writers

(setf broken-time-hh) (function)

Slot: dd
Type

integer

Initform

0

Readers

broken-time-dd (function)

Writers

(setf broken-time-dd) (function)

Slot: mo
Type

integer

Initform

0

Readers

broken-time-mo (function)

Writers

(setf broken-time-mo) (function)

Slot: yr
Type

integer

Initform

0

Readers

broken-time-yr (function)

Writers

(setf broken-time-yr) (function)

Slot: dow
Readers

broken-time-dow (function)

Writers

(setf broken-time-dow) (function)

Slot: dst?
Readers

broken-time-dst? (function)

Writers

(setf broken-time-dst?) (function)

Slot: zone
Readers

broken-time-zone (function)

Writers

(setf broken-time-zone) (function)

Slot: ampm
Readers

broken-time-ampm (function)

Writers

(setf broken-time-ampm) (function)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.7 Classes

Class: safe-list-mixin ()
Package

stdutils

Direct subclasses

safe-list-queue (class)

Class: safe-queue-mixin ()
Package

stdutils

Direct subclasses

safe-list-queue (class)

Class: vector-keyed-table-iterator ()
Package

stdutils.gds

Source

vector-keyed-table.lisp (file)

Direct superclasses

iterator (class)

Direct methods
Direct slots
Slot: reference
Initargs

:reference

Readers

reference (generic function)

Writers

(setf reference) (generic function)

Slot: type
Initargs

:type

Readers

iter-type (generic function)

Writers

(setf iter-type) (generic function)

Slot: last
Readers

last-key (generic function)

Writers

(setf last-key) (generic function)

Slot: stack
Readers

vkti-stack (generic function)

Writers

(setf vkti-stack) (generic function)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.8 Types

Type: array-index &optional LENGTH
Package

split-sequence

Source

/home/quickbuilder/quicklisp/dists/quicklisp/software/split-sequence-v1.4.1/split-sequence.lisp


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   M   S  
Index Entry  Section

F
File, Lisp, stdutils.asd: The stdutils<dot>asd file
File, Lisp, stdutils/src/arrays.lisp: The stdutils/src/arrays<dot>lisp file
File, Lisp, stdutils/src/assoc-table.lisp: The stdutils/src/assoc-table<dot>lisp file
File, Lisp, stdutils/src/cache.lisp: The stdutils/src/cache<dot>lisp file
File, Lisp, stdutils/src/clos.lisp: The stdutils/src/clos<dot>lisp file
File, Lisp, stdutils/src/collections.lisp: The stdutils/src/collections<dot>lisp file
File, Lisp, stdutils/src/conditionals.lisp: The stdutils/src/conditionals<dot>lisp file
File, Lisp, stdutils/src/file.lisp: The stdutils/src/file<dot>lisp file
File, Lisp, stdutils/src/functions.lisp: The stdutils/src/functions<dot>lisp file
File, Lisp, stdutils/src/gds.lisp: The stdutils/src/gds<dot>lisp file
File, Lisp, stdutils/src/hashed-table.lisp: The stdutils/src/hashed-table<dot>lisp file
File, Lisp, stdutils/src/hashutil.lisp: The stdutils/src/hashutil<dot>lisp file
File, Lisp, stdutils/src/ifstar.lisp: The stdutils/src/ifstar<dot>lisp file
File, Lisp, stdutils/src/iteration.lisp: The stdutils/src/iteration<dot>lisp file
File, Lisp, stdutils/src/iteration2.lisp: The stdutils/src/iteration2<dot>lisp file
File, Lisp, stdutils/src/iterator.lisp: The stdutils/src/iterator<dot>lisp file
File, Lisp, stdutils/src/lists.lisp: The stdutils/src/lists<dot>lisp file
File, Lisp, stdutils/src/macros.lisp: The stdutils/src/macros<dot>lisp file
File, Lisp, stdutils/src/map.lisp: The stdutils/src/map<dot>lisp file
File, Lisp, stdutils/src/match.lisp: The stdutils/src/match<dot>lisp file
File, Lisp, stdutils/src/math.lisp: The stdutils/src/math<dot>lisp file
File, Lisp, stdutils/src/matrix.lisp: The stdutils/src/matrix<dot>lisp file
File, Lisp, stdutils/src/package.lisp: The stdutils/src/package<dot>lisp file
File, Lisp, stdutils/src/prof.lisp: The stdutils/src/prof<dot>lisp file
File, Lisp, stdutils/src/queue.lisp: The stdutils/src/queue<dot>lisp file
File, Lisp, stdutils/src/random.lisp: The stdutils/src/random<dot>lisp file
File, Lisp, stdutils/src/regex.lisp: The stdutils/src/regex<dot>lisp file
File, Lisp, stdutils/src/setf.lisp: The stdutils/src/setf<dot>lisp file
File, Lisp, stdutils/src/shorthand.lisp: The stdutils/src/shorthand<dot>lisp file
File, Lisp, stdutils/src/split-sequence.lisp: The stdutils/src/split-sequence<dot>lisp file
File, Lisp, stdutils/src/strings.lisp: The stdutils/src/strings<dot>lisp file
File, Lisp, stdutils/src/system.lisp: The stdutils/src/system<dot>lisp file
File, Lisp, stdutils/src/table.lisp: The stdutils/src/table<dot>lisp file
File, Lisp, stdutils/src/time.lisp: The stdutils/src/time<dot>lisp file
File, Lisp, stdutils/src/tokenizer.lisp: The stdutils/src/tokenizer<dot>lisp file
File, Lisp, stdutils/src/vector-keyed-table.lisp: The stdutils/src/vector-keyed-table<dot>lisp file
File, Lisp, stdutils/src/wordseq.lisp: The stdutils/src/wordseq<dot>lisp file

L
Lisp File, stdutils.asd: The stdutils<dot>asd file
Lisp File, stdutils/src/arrays.lisp: The stdutils/src/arrays<dot>lisp file
Lisp File, stdutils/src/assoc-table.lisp: The stdutils/src/assoc-table<dot>lisp file
Lisp File, stdutils/src/cache.lisp: The stdutils/src/cache<dot>lisp file
Lisp File, stdutils/src/clos.lisp: The stdutils/src/clos<dot>lisp file
Lisp File, stdutils/src/collections.lisp: The stdutils/src/collections<dot>lisp file
Lisp File, stdutils/src/conditionals.lisp: The stdutils/src/conditionals<dot>lisp file
Lisp File, stdutils/src/file.lisp: The stdutils/src/file<dot>lisp file
Lisp File, stdutils/src/functions.lisp: The stdutils/src/functions<dot>lisp file
Lisp File, stdutils/src/gds.lisp: The stdutils/src/gds<dot>lisp file
Lisp File, stdutils/src/hashed-table.lisp: The stdutils/src/hashed-table<dot>lisp file
Lisp File, stdutils/src/hashutil.lisp: The stdutils/src/hashutil<dot>lisp file
Lisp File, stdutils/src/ifstar.lisp: The stdutils/src/ifstar<dot>lisp file
Lisp File, stdutils/src/iteration.lisp: The stdutils/src/iteration<dot>lisp file
Lisp File, stdutils/src/iteration2.lisp: The stdutils/src/iteration2<dot>lisp file
Lisp File, stdutils/src/iterator.lisp: The stdutils/src/iterator<dot>lisp file
Lisp File, stdutils/src/lists.lisp: The stdutils/src/lists<dot>lisp file
Lisp File, stdutils/src/macros.lisp: The stdutils/src/macros<dot>lisp file
Lisp File, stdutils/src/map.lisp: The stdutils/src/map<dot>lisp file
Lisp File, stdutils/src/match.lisp: The stdutils/src/match<dot>lisp file
Lisp File, stdutils/src/math.lisp: The stdutils/src/math<dot>lisp file
Lisp File, stdutils/src/matrix.lisp: The stdutils/src/matrix<dot>lisp file
Lisp File, stdutils/src/package.lisp: The stdutils/src/package<dot>lisp file
Lisp File, stdutils/src/prof.lisp: The stdutils/src/prof<dot>lisp file
Lisp File, stdutils/src/queue.lisp: The stdutils/src/queue<dot>lisp file
Lisp File, stdutils/src/random.lisp: The stdutils/src/random<dot>lisp file
Lisp File, stdutils/src/regex.lisp: The stdutils/src/regex<dot>lisp file
Lisp File, stdutils/src/setf.lisp: The stdutils/src/setf<dot>lisp file
Lisp File, stdutils/src/shorthand.lisp: The stdutils/src/shorthand<dot>lisp file
Lisp File, stdutils/src/split-sequence.lisp: The stdutils/src/split-sequence<dot>lisp file
Lisp File, stdutils/src/strings.lisp: The stdutils/src/strings<dot>lisp file
Lisp File, stdutils/src/system.lisp: The stdutils/src/system<dot>lisp file
Lisp File, stdutils/src/table.lisp: The stdutils/src/table<dot>lisp file
Lisp File, stdutils/src/time.lisp: The stdutils/src/time<dot>lisp file
Lisp File, stdutils/src/tokenizer.lisp: The stdutils/src/tokenizer<dot>lisp file
Lisp File, stdutils/src/vector-keyed-table.lisp: The stdutils/src/vector-keyed-table<dot>lisp file
Lisp File, stdutils/src/wordseq.lisp: The stdutils/src/wordseq<dot>lisp file

M
Module, stdutils/src: The stdutils/src module

S
stdutils.asd: The stdutils<dot>asd file
stdutils/src: The stdutils/src module
stdutils/src/arrays.lisp: The stdutils/src/arrays<dot>lisp file
stdutils/src/assoc-table.lisp: The stdutils/src/assoc-table<dot>lisp file
stdutils/src/cache.lisp: The stdutils/src/cache<dot>lisp file
stdutils/src/clos.lisp: The stdutils/src/clos<dot>lisp file
stdutils/src/collections.lisp: The stdutils/src/collections<dot>lisp file
stdutils/src/conditionals.lisp: The stdutils/src/conditionals<dot>lisp file
stdutils/src/file.lisp: The stdutils/src/file<dot>lisp file
stdutils/src/functions.lisp: The stdutils/src/functions<dot>lisp file
stdutils/src/gds.lisp: The stdutils/src/gds<dot>lisp file
stdutils/src/hashed-table.lisp: The stdutils/src/hashed-table<dot>lisp file
stdutils/src/hashutil.lisp: The stdutils/src/hashutil<dot>lisp file
stdutils/src/ifstar.lisp: The stdutils/src/ifstar<dot>lisp file
stdutils/src/iteration.lisp: The stdutils/src/iteration<dot>lisp file
stdutils/src/iteration2.lisp: The stdutils/src/iteration2<dot>lisp file
stdutils/src/iterator.lisp: The stdutils/src/iterator<dot>lisp file
stdutils/src/lists.lisp: The stdutils/src/lists<dot>lisp file
stdutils/src/macros.lisp: The stdutils/src/macros<dot>lisp file
stdutils/src/map.lisp: The stdutils/src/map<dot>lisp file
stdutils/src/match.lisp: The stdutils/src/match<dot>lisp file
stdutils/src/math.lisp: The stdutils/src/math<dot>lisp file
stdutils/src/matrix.lisp: The stdutils/src/matrix<dot>lisp file
stdutils/src/package.lisp: The stdutils/src/package<dot>lisp file
stdutils/src/prof.lisp: The stdutils/src/prof<dot>lisp file
stdutils/src/queue.lisp: The stdutils/src/queue<dot>lisp file
stdutils/src/random.lisp: The stdutils/src/random<dot>lisp file
stdutils/src/regex.lisp: The stdutils/src/regex<dot>lisp file
stdutils/src/setf.lisp: The stdutils/src/setf<dot>lisp file
stdutils/src/shorthand.lisp: The stdutils/src/shorthand<dot>lisp file
stdutils/src/split-sequence.lisp: The stdutils/src/split-sequence<dot>lisp file
stdutils/src/strings.lisp: The stdutils/src/strings<dot>lisp file
stdutils/src/system.lisp: The stdutils/src/system<dot>lisp file
stdutils/src/table.lisp: The stdutils/src/table<dot>lisp file
stdutils/src/time.lisp: The stdutils/src/time<dot>lisp file
stdutils/src/tokenizer.lisp: The stdutils/src/tokenizer<dot>lisp file
stdutils/src/vector-keyed-table.lisp: The stdutils/src/vector-keyed-table<dot>lisp file
stdutils/src/wordseq.lisp: The stdutils/src/wordseq<dot>lisp file

Jump to:   F   L   M   S  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (   =   >   _  
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X  
Index Entry  Section

(
(setf alist): Internal generic functions
(setf alist): Internal generic functions
(setf assoc-get): Exported functions
(setf bidir-index-by-id): Internal generic functions
(setf bidir-index-by-id): Internal generic functions
(setf bidir-index-by-obj): Internal generic functions
(setf bidir-index-by-obj): Internal generic functions
(setf broken-time-ampm): Internal functions
(setf broken-time-dd): Internal functions
(setf broken-time-dow): Internal functions
(setf broken-time-dst?): Internal functions
(setf broken-time-hh): Internal functions
(setf broken-time-mm): Internal functions
(setf broken-time-mo): Internal functions
(setf broken-time-ss): Internal functions
(setf broken-time-yr): Internal functions
(setf broken-time-zone): Internal functions
(setf current-ptr): Internal generic functions
(setf current-ptr): Internal generic functions
(setf get-data): Internal generic functions
(setf get-data): Internal generic functions
(setf get-value): Exported generic functions
(setf get-value): Exported generic functions
(setf get-value): Exported generic functions
(setf get-value): Exported generic functions
(setf hashed-table-ref): Internal generic functions
(setf hashed-table-ref): Internal generic functions
(setf id-generator-id): Internal generic functions
(setf id-generator-id): Internal generic functions
(setf iter-type): Internal generic functions
(setf iter-type): Internal generic functions
(setf iter-type): Internal generic functions
(setf iter-type): Internal generic functions
(setf key-test): Internal generic functions
(setf key-test): Internal generic functions
(setf last-key): Internal generic functions
(setf last-key): Internal generic functions
(setf last-ptr): Internal generic functions
(setf last-ptr): Internal generic functions
(setf last-ptr): Internal generic functions
(setf list-ptr): Internal generic functions
(setf list-ptr): Internal generic functions