The net.mfiano.lisp.golden-utils Reference Manual

Table of Contents

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

The net.mfiano.lisp.golden-utils Reference Manual

This is the net.mfiano.lisp.golden-utils Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Fri Jun 26 11:11:06 2020 GMT+0.


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

1 Introduction

golden-utils

Auxiliary Utilities (AU).

Overview

A collection of personal utilities that have been found useful.

Install

(ql:quickload :net.mfiano.lisp.golden-utils)

Usage

TODO

License

Copyright © 2017-2020 Michael Fiano mail@mfiano.net

Licensed under the MIT License.


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 net.mfiano.lisp.golden-utils

Author

Michael Fiano <mail@mfiano.net>

Home Page

https://mfiano.net/projects/golden-utils

Source Control

(:git "https://github.com/mfiano/golden-utils")

Bug Tracker

https://github.com/mfiano/golden-utils/issues

License

MIT

Description

A utility library.

Dependencies
Source

net.mfiano.lisp.golden-utils.asd (file)

Components

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

3 Files

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


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

3.1 Lisp


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

3.1.1 net.mfiano.lisp.golden-utils.asd

Location

/home/quickref/quicklisp/dists/quicklisp/software/golden-utils-20200610-git/net.mfiano.lisp.golden-utils.asd

Systems

net.mfiano.lisp.golden-utils (system)


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

3.1.2 net.mfiano.lisp.golden-utils/package.lisp

Parent

net.mfiano.lisp.golden-utils (system)

Location

package.lisp

Packages

net.mfiano.lisp.golden-utils


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

3.1.3 net.mfiano.lisp.golden-utils/macro.lisp

Dependency

package.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

macro.lisp

Exported Definitions

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

3.1.4 net.mfiano.lisp.golden-utils/closure.lisp

Dependency

macro.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

closure.lisp

Exported Definitions
Internal Definitions

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

3.1.5 net.mfiano.lisp.golden-utils/type.lisp

Dependency

closure.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

type.lisp

Exported Definitions

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

3.1.6 net.mfiano.lisp.golden-utils/symbol.lisp

Dependency

type.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

symbol.lisp

Exported Definitions

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

3.1.7 net.mfiano.lisp.golden-utils/number.lisp

Dependency

symbol.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

number.lisp

Exported Definitions

count-digits (function)


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

3.1.8 net.mfiano.lisp.golden-utils/character.lisp

Dependency

number.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

character.lisp

Exported Definitions

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

3.1.9 net.mfiano.lisp.golden-utils/array.lisp

Dependency

character.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

array.lisp

Exported Definitions

make-ub8-array (function)


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

3.1.10 net.mfiano.lisp.golden-utils/string.lisp

Dependency

array.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

string.lisp

Exported Definitions

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

3.1.11 net.mfiano.lisp.golden-utils/sequence.lisp

Dependency

string.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

sequence.lisp

Exported Definitions

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

3.1.12 net.mfiano.lisp.golden-utils/list.lisp

Dependency

sequence.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

list.lisp

Exported Definitions

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

3.1.13 net.mfiano.lisp.golden-utils/list-alist.lisp

Dependency

list.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

list-alist.lisp

Exported Definitions

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

3.1.14 net.mfiano.lisp.golden-utils/list-plist.lisp

Dependency

list-alist.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

list-plist.lisp

Exported Definitions

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

3.1.15 net.mfiano.lisp.golden-utils/hash-table.lisp

Dependency

list-plist.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

hash-table.lisp

Exported Definitions

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

3.1.16 net.mfiano.lisp.golden-utils/filesystem.lisp

Dependency

hash-table.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

filesystem.lisp

Exported Definitions

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

3.1.17 net.mfiano.lisp.golden-utils/math.lisp

Dependency

filesystem.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

math.lisp

Exported Definitions

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

3.1.18 net.mfiano.lisp.golden-utils/misc.lisp

Dependency

math.lisp (file)

Parent

net.mfiano.lisp.golden-utils (system)

Location

misc.lisp

Exported Definitions

noop (function)


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

4 Packages

Packages are listed by definition order.


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

4.1 net.mfiano.lisp.golden-utils

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

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

5 Definitions

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


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

5.1 Exported definitions


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

5.1.1 Macros

Macro: alist-removef PLACE &rest KEYS

Place-modifying macro for ALIST-REMOVE.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Macro: define-pfun NAME ARGS &body BODY
Package

net.mfiano.lisp.golden-utils

Source

closure.lisp (file)

Macro: define-printer (OBJECT STREAM &key TYPE IDENTITY) &body BODY

Define a PRINT-OBJECT method for ‘OBJECT‘.

Package

net.mfiano.lisp.golden-utils

Source

macro.lisp (file)

Macro: defun-inline NAME ARGS &body BODY

Conveniently define the function ‘NAME‘ and also inline it.

Package

net.mfiano.lisp.golden-utils

Source

macro.lisp (file)

Macro: dlambda &body DS
Package

net.mfiano.lisp.golden-utils

Source

closure.lisp (file)

Macro: do-alist (KEY VALUE ALIST) &body BODY

Iterate over the association list, ‘ALIST‘, binding each key and value to ‘KEY‘ and ‘VALUE‘ respectively, performing ‘BODY‘.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Macro: do-alist-keys (KEY ALIST) &body BODY

Iterate over the association list, ‘ALIST‘, binding each key to ‘KEY‘, performing ‘BODY‘.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Macro: do-alist-values (VALUE ALIST) &body BODY

Iterate over the association list, ‘ALIST‘, binding each value to ‘VALUE‘, performing ‘BODY‘.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Macro: do-hash (KEY VALUE TABLE &optional RESULT) &body BODY

Iterates over hash table ‘TABLE‘, binding each key to ‘KEY‘, and its value to ‘VALUE‘.

Package

net.mfiano.lisp.golden-utils

Source

hash-table.lisp (file)

Macro: do-hash-keys (KEY TABLE) &body BODY

Iterate over hash table ‘TABLE‘, binding each key to ‘KEY‘.

Package

net.mfiano.lisp.golden-utils

Source

hash-table.lisp (file)

Macro: do-hash-values (VALUE TABLE) &body BODY

Iterate over hash table ‘TABLE‘, binding each value to ‘VALUE‘.

Package

net.mfiano.lisp.golden-utils

Source

hash-table.lisp (file)

Macro: do-plist (KEY VALUE PLIST) &body BODY

Iterate over the property list, ‘PLIST‘, binding each key and value to ‘KEY‘ and ‘VALUE‘ respectively, performing ‘BODY‘.

Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Macro: do-plist-keys (KEY PLIST) &body BODY

Iterate over the property list, ‘PLIST‘, binding each key to ‘KEY‘, performing ‘BODY‘.

Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Macro: do-plist-values (VALUE PLIST) &body BODY

Iterate over the property list, ‘PLIST‘, binding each value to ‘VALUE‘, performing ‘BODY‘.

Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Macro: do-seq (VAR SEQUENCE) &body BODY

Iterates over ‘SEQUENCE‘, binding ‘VAR‘ to each element. Like DOLIST, but for all sequence types.

Package

net.mfiano.lisp.golden-utils

Source

sequence.lisp (file)

Macro: eval-always &body BODY
Package

net.mfiano.lisp.golden-utils

Source

macro.lisp (file)

Macro: fn-> FUNCTION ARGS VALUES

Declaim the ‘FTYPE‘ of function from ‘ARGS‘ to ‘VALUES‘.

Package

net.mfiano.lisp.golden-utils

Source

macro.lisp (file)

Macro: if-found (VAR LOOKUP) THEN ELSE

Depending if ‘LOOKUP‘ is successful or not, perform ‘THEN‘ or ‘ELSE‘ with ‘VAR‘ bound to the result. ‘LOOKUP‘ is an expression that returns two values, with the second value indicating if the lookup was successful, such as with GETHASH.

Package

net.mfiano.lisp.golden-utils

Source

macro.lisp (file)

Macro: mvlet (&rest BINDINGS) &body BODY
Package

net.mfiano.lisp.golden-utils

Source

macro.lisp (file)

Macro: mvlet* (&rest BINDINGS) &body BODY
Package

net.mfiano.lisp.golden-utils

Source

macro.lisp (file)

Macro: plambda ARGS EXPORTS &body BODY
Package

net.mfiano.lisp.golden-utils

Source

closure.lisp (file)

Macro: plist-removef PLACE &rest KEYS

Place-modifying macro for PLIST-REMOVE.

Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Macro: unless-found (VAR LOOKUP) &body BODY

If ‘LOOKUP‘ is unsuccessful, perform ‘BODY‘ with ‘VAR‘ bound to the result. ‘LOOKUP‘ is an expression that returns two values, with the second value indicating if the lookup was successful, such as with GETHASH.

Package

net.mfiano.lisp.golden-utils

Source

macro.lisp (file)

Macro: until PREDICATE &body BODY

Loop until ‘PREDICATE‘ is satisfied.

Package

net.mfiano.lisp.golden-utils

Source

macro.lisp (file)

Macro: when-found (VAR LOOKUP) &body BODY

If ‘LOOKUP‘ is successful, perform ‘BODY‘ with ‘VAR‘ bound to the result. ‘LOOKUP‘ is an expression that returns two values, with the second value indicating if the lookup was successful, such as with GETHASH.

Package

net.mfiano.lisp.golden-utils

Source

macro.lisp (file)

Macro: while PREDICATE &body BODY

Loop while ‘PREDICATE‘ is satisfied.

Package

net.mfiano.lisp.golden-utils

Source

macro.lisp (file)

Macro: with-binary-input (STREAM FILE) &body BODY

Open the file at location ‘PATH‘ as binary input and perform ‘BODY‘.

Package

net.mfiano.lisp.golden-utils

Source

filesystem.lisp (file)

Macro: with-binary-output (STREAM FILE &optional APPEND-P) &body BODY

Open the file at location ‘PATH‘, as binary output and perform ‘BODY‘. If the file already exists, it is overwritten.
If the file does not exist, it is created.

Package

net.mfiano.lisp.golden-utils

Source

filesystem.lisp (file)

Macro: with-file-input (STREAM PATH) &body BODY

Open the file at location ‘PATH‘ as input and perform ‘BODY‘.

Package

net.mfiano.lisp.golden-utils

Source

filesystem.lisp (file)

Macro: with-file-output (STREAM PATH &optional APPEND-P) &body BODY

Open the file at location ‘PATH‘, as output and perform ‘BODY‘. If the file already exists, it is overwritten.
If the file does not exist, it is created.

Package

net.mfiano.lisp.golden-utils

Source

filesystem.lisp (file)

Macro: with-pvars SYMBOLS BOX &body BODY
Package

net.mfiano.lisp.golden-utils

Source

closure.lisp (file)


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

5.1.2 Functions

Function: alist->hash ALIST &rest ARGS

Convert ‘ALIST‘ to a hash table.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Function: alist->plist ALIST

Convert ‘ALIST‘ to a property list. A property list in this context has keyword symbols for its keys.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Function: alist-get ALIST KEY &rest ARGS

Get the value associated with ‘KEY‘ in ‘ALIST‘.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Function: alist-keys ALIST

Get a list of all keys in ‘ALIST‘.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Function: alist-p ITEM

Check whether or not ‘ITEM‘ is an association list.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Function: alist-remove ALIST &rest KEYS

Remove all ‘KEYS‘ and their associated values from ‘ALIST‘. Non-destructive.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Function: alist-rget ALIST VALUE &rest ARGS

Get the key associated with ‘VALUE‘ in ‘ALIST‘.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Function: alist-values ALIST

Get a list of all values in ‘ALIST‘.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Function: ascii-alphanumeric-p CHAR

Check if the character ‘CHAR‘ is an ASCII alpha-numeric character.

Package

net.mfiano.lisp.golden-utils

Source

character.lisp (file)

Function: ascii-char-p CHAR

Check if the character ‘CHAR‘ is an ASCII character.

Package

net.mfiano.lisp.golden-utils

Source

character.lisp (file)

Function: ascii-control-p CHAR

Check if the character ‘CHAR‘ is an ASCII control character.

Package

net.mfiano.lisp.golden-utils

Source

character.lisp (file)

Function: ascii-letter-p CHAR

Check if the character ‘CHAR‘ is an ASCII letter character.

Package

net.mfiano.lisp.golden-utils

Source

character.lisp (file)

Function: ascii-lowercase-p CHAR

Check if the character ‘CHAR‘ is a lowercase ASCII character.

Package

net.mfiano.lisp.golden-utils

Source

character.lisp (file)

Function: ascii-number-p CHAR

Check if the character ‘CHAR‘ is an ASCII number character.

Package

net.mfiano.lisp.golden-utils

Source

character.lisp (file)

Function: ascii-uppercase-p CHAR

Check if the character ‘CHAR‘ is an uppercase ASCII character.

Package

net.mfiano.lisp.golden-utils

Source

character.lisp (file)

Function: average &rest NUMBERS

Calculate the mean average of ‘NUMBERS‘, a list of numbers.

Package

net.mfiano.lisp.golden-utils

Source

math.lisp (file)

Function: collect-external-symbols &optional PACKAGE

Collect a list of all external symbols of ‘PACKAGE‘.

Package

net.mfiano.lisp.golden-utils

Source

symbol.lisp (file)

Function: collect-symbols &optional PACKAGE

Collect a list of all symbols of ‘PACKAGE‘.

Package

net.mfiano.lisp.golden-utils

Source

symbol.lisp (file)

Function: combinations/repetition N ITEMS

Return a list of all combinations of ‘ITEMS‘ with with a length of ‘N‘, and repetitions allowed.

Package

net.mfiano.lisp.golden-utils

Source

list.lisp (file)

Function: count-digits INTEGER

Return the number of digits of ‘INTEGER‘.

Package

net.mfiano.lisp.golden-utils

Source

number.lisp (file)

Function: degrees->radians DEGREES

Convert ‘DEGREES‘ to radians.

Package

net.mfiano.lisp.golden-utils

Source

math.lisp (file)

Function: dict &rest KEYS/VALUES
Package

net.mfiano.lisp.golden-utils

Source

hash-table.lisp (file)

Function: enumerate SEQUENCE &key START STEP KEY

Return an alist with each car being a number determined by sequentially incrementing from ‘START‘ by ‘STEP‘, and each cdr being the element of ‘SEQUENCE‘ applied to the function ‘KEY‘.

Package

net.mfiano.lisp.golden-utils

Source

sequence.lisp (file)

Function: file->string PATH

Read the file located at ‘PATH‘ into a string.

Package

net.mfiano.lisp.golden-utils

Source

filesystem.lisp (file)

Function: flatten-numbers SEQUENCE &key TYPE

Like FLATTEN, except only keeps real numbers and arranges for the result to be a specialized array of element-type ‘TYPE‘.

Package

net.mfiano.lisp.golden-utils

Source

sequence.lisp (file)

Function: flatten-tree SEQUENCE

Traverses a sequence in order, collecting non-nil values into a list. This is different than Alexandria’s version in that this also works for vectors or hybrid sequences.

Package

net.mfiano.lisp.golden-utils

Source

sequence.lisp (file)

Function: hash->alist TABLE

Convert the keys and values of the hash table ‘TABLE‘ to an association list.

Package

net.mfiano.lisp.golden-utils

Source

hash-table.lisp (file)

Function: hash->plist TABLE

Convert the keys and values of the hash table ‘TABLE‘ to a property list.

Package

net.mfiano.lisp.golden-utils

Source

hash-table.lisp (file)

Function: hash-keys TABLE

Collect a list of all keys in the hash table ‘TABLE‘.

Package

net.mfiano.lisp.golden-utils

Source

hash-table.lisp (file)

Function: hash-merge TABLE &rest TABLES
Package

net.mfiano.lisp.golden-utils

Source

hash-table.lisp (file)

Function: hash-values TABLE

Collect a list of all values in the hash table ‘TABLE.

Package

net.mfiano.lisp.golden-utils

Source

hash-table.lisp (file)

Function: hex-char-p CHAR

Check if the character ‘CHAR‘ is a hexadecimal character.

Package

net.mfiano.lisp.golden-utils

Source

character.lisp (file)

Function: href TABLE &rest KEYS
Function: (setf href) VALUE TABLE &rest KEYS
Package

net.mfiano.lisp.golden-utils

Source

hash-table.lisp (file)

Function: interleave &rest LISTS

Interleave the elements of ‘LISTS‘.

Package

net.mfiano.lisp.golden-utils

Source

list.lisp (file)

Function: make-keyword OBJECT

Interns ‘OBJECT‘, a string designator or number, into the keyword package.

Package

net.mfiano.lisp.golden-utils

Source

symbol.lisp (file)

Function: make-ub8-array SIZE
Package

net.mfiano.lisp.golden-utils

Source

array.lisp (file)

Function: map-alist FN ALIST

Map over the association list, ‘ALIST‘ applying ‘FN‘, a function that takes 2 arguments, for the key and value of each iteration.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Function: map-alist-keys FN ALIST

Map over the association list, ‘ALIST‘ applying ‘FN‘, a function that takes 1 arguments for the key of each iteration.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Function: map-alist-values FN ALIST

Map over the association list, ‘ALIST‘ applying ‘FN‘, a function that takes 1 arguments for the value of each iteration.

Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Function: map-domain SOURCE-MIN SOURCE-MAX DEST-MIN DEST-MAX VALUE

Map ‘VALUE‘ from the domain denoted by ‘SOURCE-MIN‘ and ‘SOURCE-MAX‘ to the domain denoted by ‘DEST-MIN‘ and ‘DEST-MAX‘.

Package

net.mfiano.lisp.golden-utils

Source

math.lisp (file)

Function: map-files PATH FUNCTION &key TEST RECURSIVE-P

Map over all files located in the directory of ‘PATH‘, applying ‘FUNCTION‘ to each file’s path. ‘TEST‘ is a function that takes a file path and decides if ‘FUNCTION‘ should be applied to it. ‘RECURSIVE-P‘, when non-NIL will descend into sub-directories of ‘PATH‘ recursively.

Package

net.mfiano.lisp.golden-utils

Source

filesystem.lisp (file)

Function: map-plist FN PLIST

Map over the property list, ‘PLIST‘ applying ‘FN‘, a function that takes 2 arguments, for the key and value of each iteration.

Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Function: map-plist-keys FN PLIST

Map over the property list, ‘PLIST‘ applying ‘FN‘, a function that takes 1 arguments for the key of each iteration.

Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Function: map-plist-values FN PLIST

Map over the property list, ‘PLIST‘ applying ‘FN‘, a function that takes 1 arguments for the value of each iteration.

Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Function: noop &rest ARGS

Do nothing.

Package

net.mfiano.lisp.golden-utils

Source

misc.lisp (file)

Function: null-char-p CHAR
Package

net.mfiano.lisp.golden-utils

Source

character.lisp (file)

Function: plist->alist PLIST

Convert ‘PLIST‘ to an association list.

Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Function: plist->hash PLIST &rest ARGS

Convert ‘PLIST‘ to a hash table.

Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Function: plist-get PLIST KEY

Get the value associated with ‘KEY‘ in ‘PLIST‘.

Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Function: plist-keys PLIST

Get a list of all keys in ‘PLIST‘.

Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Function: plist-p ITEM

Check whether or not ‘ITEM‘ is a property list.

Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Function: plist-remove PLIST &rest KEYS

Remove all ‘KEYS‘ and their associated values from ‘PLIST‘. Non-destructive.

Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Function: plist-values PLIST

Get a list of all values in ‘PLIST‘.

Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Function: radians->degrees RADIANS

Convert ‘RADIANS‘ to degrees.

Package

net.mfiano.lisp.golden-utils

Source

math.lisp (file)

Function: safe-read-file-form PATH &key PACKAGE

Read the first form of the file located at ‘PATH‘, with *PACKAGE* bound to ‘PACKAGE‘.

Package

net.mfiano.lisp.golden-utils

Source

filesystem.lisp (file)

Function: safe-read-file-forms PATH &key PACKAGE

Read all forms of the file located at ‘PATH‘, with *PACKAGE* bound to ‘PACKAGE‘.

Package

net.mfiano.lisp.golden-utils

Source

filesystem.lisp (file)

Function: string->file STRING PATH

Write ‘STRING‘ to the file located at ‘PATH‘.

Package

net.mfiano.lisp.golden-utils

Source

filesystem.lisp (file)

Function: string->keyword STRING

Convert ‘STRING‘ to a keyword symbol.

Package

net.mfiano.lisp.golden-utils

Source

string.lisp (file)

Function: string-ends-with-p STRING SUFFIX

Check if ‘STRING‘ ends with ‘SUFFIX‘.

Package

net.mfiano.lisp.golden-utils

Source

string.lisp (file)

Function: string-explode STRING

Explode ‘STRING‘ into a list of its characters.

Package

net.mfiano.lisp.golden-utils

Source

string.lisp (file)

Function: string-merge &rest STRINGS

Merge ‘STRINGS‘ into a single string.

Package

net.mfiano.lisp.golden-utils

Source

string.lisp (file)

Function: string-starts-with-p STRING PREFIX

Check if ‘STRING‘ starts with ‘PREFIX‘.

Package

net.mfiano.lisp.golden-utils

Source

string.lisp (file)

Function: string-trim-whitespace STRING

Trim leading and trailing whitespace characters from ‘STRING‘.

Package

net.mfiano.lisp.golden-utils

Source

string.lisp (file)

Function: tree-leaves TREE TEST RESULT

Replace leaves of ‘TREE‘ that satisfy ‘TEST‘ with ‘RESULT‘. From Let Over Lambda by Doug Hoyte.

Package

net.mfiano.lisp.golden-utils

Source

list.lisp (file)

Function: zip &rest LISTS

Zip the given ‘LISTS‘.

Package

net.mfiano.lisp.golden-utils

Source

list.lisp (file)


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

5.1.3 Types

Type: alist ()
Package

net.mfiano.lisp.golden-utils

Source

list-alist.lisp (file)

Type: b16 ()
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: b16-array SIZE
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: b24 ()
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: b24-array SIZE
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: b32 ()
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: b32-array SIZE
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: b64 ()
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: b64-array SIZE
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: b8 ()
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: b8-array SIZE
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: fn-> ARGS VALUES
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: octet ()
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: plist ()
Package

net.mfiano.lisp.golden-utils

Source

list-plist.lisp (file)

Type: ub16 ()
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: ub16-array SIZE
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: ub24 ()
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: ub24-array SIZE
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: ub32 ()
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: ub32-array SIZE
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: ub64 ()
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: ub64-array SIZE
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: ub8 ()
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)

Type: ub8-array SIZE
Package

net.mfiano.lisp.golden-utils

Source

type.lisp (file)


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

5.2 Internal definitions


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

5.2.1 Functions

Function: pget BOX SYMBOL
Package

net.mfiano.lisp.golden-utils

Source

closure.lisp (file)

Setf Expander

(setf pget) (setf expander)

Setf Expander: (setf pget) BOX SYMBOL
Package

net.mfiano.lisp.golden-utils

Source

closure.lisp (file)

Reader

pget (function)

Function: plet/get ARGS
Package

net.mfiano.lisp.golden-utils

Source

closure.lisp (file)

Function: plet/set ARGS
Package

net.mfiano.lisp.golden-utils

Source

closure.lisp (file)


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

Appendix A Indexes


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

A.1 Concepts

Jump to:   F   L   N  
Index Entry  Section

F
File, Lisp, net.mfiano.lisp.golden-utils.asd: The net․mfiano․lisp․golden-utils․asd file
File, Lisp, net.mfiano.lisp.golden-utils/array.lisp: The net․mfiano․lisp․golden-utils/array․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/character.lisp: The net․mfiano․lisp․golden-utils/character․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/closure.lisp: The net․mfiano․lisp․golden-utils/closure․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/filesystem.lisp: The net․mfiano․lisp․golden-utils/filesystem․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/hash-table.lisp: The net․mfiano․lisp․golden-utils/hash-table․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/list-alist.lisp: The net․mfiano․lisp․golden-utils/list-alist․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/list-plist.lisp: The net․mfiano․lisp․golden-utils/list-plist․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/list.lisp: The net․mfiano․lisp․golden-utils/list․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/macro.lisp: The net․mfiano․lisp․golden-utils/macro․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/math.lisp: The net․mfiano․lisp․golden-utils/math․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/misc.lisp: The net․mfiano․lisp․golden-utils/misc․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/number.lisp: The net․mfiano․lisp․golden-utils/number․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/package.lisp: The net․mfiano․lisp․golden-utils/package․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/sequence.lisp: The net․mfiano․lisp․golden-utils/sequence․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/string.lisp: The net․mfiano․lisp․golden-utils/string․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/symbol.lisp: The net․mfiano․lisp․golden-utils/symbol․lisp file
File, Lisp, net.mfiano.lisp.golden-utils/type.lisp: The net․mfiano․lisp․golden-utils/type․lisp file

L
Lisp File, net.mfiano.lisp.golden-utils.asd: The net․mfiano․lisp․golden-utils․asd file
Lisp File, net.mfiano.lisp.golden-utils/array.lisp: The net․mfiano․lisp․golden-utils/array․lisp file
Lisp File, net.mfiano.lisp.golden-utils/character.lisp: The net․mfiano․lisp․golden-utils/character․lisp file
Lisp File, net.mfiano.lisp.golden-utils/closure.lisp: The net․mfiano․lisp․golden-utils/closure․lisp file
Lisp File, net.mfiano.lisp.golden-utils/filesystem.lisp: The net․mfiano․lisp․golden-utils/filesystem․lisp file
Lisp File, net.mfiano.lisp.golden-utils/hash-table.lisp: The net․mfiano․lisp․golden-utils/hash-table․lisp file
Lisp File, net.mfiano.lisp.golden-utils/list-alist.lisp: The net․mfiano․lisp․golden-utils/list-alist․lisp file
Lisp File, net.mfiano.lisp.golden-utils/list-plist.lisp: The net․mfiano․lisp․golden-utils/list-plist․lisp file
Lisp File, net.mfiano.lisp.golden-utils/list.lisp: The net․mfiano․lisp․golden-utils/list․lisp file
Lisp File, net.mfiano.lisp.golden-utils/macro.lisp: The net․mfiano․lisp․golden-utils/macro․lisp file
Lisp File, net.mfiano.lisp.golden-utils/math.lisp: The net․mfiano․lisp․golden-utils/math․lisp file
Lisp File, net.mfiano.lisp.golden-utils/misc.lisp: The net․mfiano․lisp․golden-utils/misc․lisp file
Lisp File, net.mfiano.lisp.golden-utils/number.lisp: The net․mfiano․lisp․golden-utils/number․lisp file
Lisp File, net.mfiano.lisp.golden-utils/package.lisp: The net․mfiano․lisp․golden-utils/package․lisp file
Lisp File, net.mfiano.lisp.golden-utils/sequence.lisp: The net․mfiano․lisp․golden-utils/sequence․lisp file
Lisp File, net.mfiano.lisp.golden-utils/string.lisp: The net․mfiano․lisp․golden-utils/string․lisp file
Lisp File, net.mfiano.lisp.golden-utils/symbol.lisp: The net․mfiano․lisp․golden-utils/symbol․lisp file
Lisp File, net.mfiano.lisp.golden-utils/type.lisp: The net․mfiano․lisp․golden-utils/type․lisp file

N
net.mfiano.lisp.golden-utils.asd: The net․mfiano․lisp․golden-utils․asd file
net.mfiano.lisp.golden-utils/array.lisp: The net․mfiano․lisp․golden-utils/array․lisp file
net.mfiano.lisp.golden-utils/character.lisp: The net․mfiano․lisp․golden-utils/character․lisp file
net.mfiano.lisp.golden-utils/closure.lisp: The net․mfiano․lisp․golden-utils/closure․lisp file
net.mfiano.lisp.golden-utils/filesystem.lisp: The net․mfiano․lisp․golden-utils/filesystem․lisp file
net.mfiano.lisp.golden-utils/hash-table.lisp: The net․mfiano․lisp․golden-utils/hash-table․lisp file
net.mfiano.lisp.golden-utils/list-alist.lisp: The net․mfiano․lisp․golden-utils/list-alist․lisp file
net.mfiano.lisp.golden-utils/list-plist.lisp: The net․mfiano․lisp․golden-utils/list-plist․lisp file
net.mfiano.lisp.golden-utils/list.lisp: The net․mfiano․lisp․golden-utils/list․lisp file
net.mfiano.lisp.golden-utils/macro.lisp: The net․mfiano․lisp․golden-utils/macro․lisp file
net.mfiano.lisp.golden-utils/math.lisp: The net․mfiano․lisp․golden-utils/math․lisp file
net.mfiano.lisp.golden-utils/misc.lisp: The net․mfiano․lisp․golden-utils/misc․lisp file
net.mfiano.lisp.golden-utils/number.lisp: The net․mfiano․lisp․golden-utils/number․lisp file
net.mfiano.lisp.golden-utils/package.lisp: The net․mfiano․lisp․golden-utils/package․lisp file
net.mfiano.lisp.golden-utils/sequence.lisp: The net․mfiano․lisp․golden-utils/sequence․lisp file
net.mfiano.lisp.golden-utils/string.lisp: The net․mfiano․lisp․golden-utils/string․lisp file
net.mfiano.lisp.golden-utils/symbol.lisp: The net․mfiano․lisp․golden-utils/symbol․lisp file
net.mfiano.lisp.golden-utils/type.lisp: The net․mfiano․lisp․golden-utils/type․lisp file

Jump to:   F   L   N  

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

A.2 Functions

Jump to:   (  
A   C   D   E   F   H   I   M   N   P   R   S   T   U   W   Z  
Index Entry  Section

(
(setf href): Exported functions
(setf pget): Internal functions

A
alist->hash: Exported functions
alist->plist: Exported functions
alist-get: Exported functions
alist-keys: Exported functions
alist-p: Exported functions
alist-remove: Exported functions
alist-removef: Exported macros
alist-rget: Exported functions
alist-values: Exported functions
ascii-alphanumeric-p: Exported functions
ascii-char-p: Exported functions
ascii-control-p: Exported functions
ascii-letter-p: Exported functions
ascii-lowercase-p: Exported functions
ascii-number-p: Exported functions
ascii-uppercase-p: Exported functions
average: Exported functions

C
collect-external-symbols: Exported functions
collect-symbols: Exported functions
combinations/repetition: Exported functions
count-digits: Exported functions

D
define-pfun: Exported macros
define-printer: Exported macros
defun-inline: Exported macros
degrees->radians: Exported functions
dict: Exported functions
dlambda: Exported macros
do-alist: Exported macros
do-alist-keys: Exported macros
do-alist-values: Exported macros
do-hash: Exported macros
do-hash-keys: Exported macros
do-hash-values: Exported macros
do-plist: Exported macros
do-plist-keys: Exported macros
do-plist-values: Exported macros
do-seq: Exported macros

E
enumerate: Exported functions
eval-always: Exported macros

F
file->string: Exported functions
flatten-numbers: Exported functions
flatten-tree: Exported functions
fn->: Exported macros
Function, (setf href): Exported functions
Function, alist->hash: Exported functions
Function, alist->plist: Exported functions
Function, alist-get: Exported functions
Function, alist-keys: Exported functions
Function, alist-p: Exported functions
Function, alist-remove: Exported functions
Function, alist-rget: Exported functions
Function, alist-values: Exported functions
Function, ascii-alphanumeric-p: Exported functions
Function, ascii-char-p: Exported functions
Function, ascii-control-p: Exported functions
Function, ascii-letter-p: Exported functions
Function, ascii-lowercase-p: Exported functions
Function, ascii-number-p: Exported functions
Function, ascii-uppercase-p: Exported functions
Function, average: Exported functions
Function, collect-external-symbols: Exported functions
Function, collect-symbols: Exported functions
Function, combinations/repetition: Exported functions
Function, count-digits: Exported functions
Function, degrees->radians: Exported functions
Function, dict: Exported functions
Function, enumerate: Exported functions
Function, file->string: Exported functions
Function, flatten-numbers: Exported functions
Function, flatten-tree: Exported functions
Function, hash->alist: Exported functions
Function, hash->plist: Exported functions
Function, hash-keys: Exported functions
Function, hash-merge: Exported functions
Function, hash-values: Exported functions
Function, hex-char-p: Exported functions
Function, href: Exported functions
Function, interleave: Exported functions
Function, make-keyword: Exported functions
Function, make-ub8-array: Exported functions
Function, map-alist: Exported functions
Function, map-alist-keys: Exported functions
Function, map-alist-values: Exported functions
Function, map-domain: Exported functions
Function, map-files: Exported functions
Function, map-plist: Exported functions
Function, map-plist-keys: Exported functions
Function, map-plist-values: Exported functions
Function, noop: Exported functions
Function, null-char-p: Exported functions
Function, pget: Internal functions
Function, plet/get: Internal functions
Function, plet/set: Internal functions
Function, plist->alist: Exported functions
Function, plist->hash: Exported functions
Function, plist-get: Exported functions
Function, plist-keys: Exported functions
Function, plist-p: Exported functions
Function, plist-remove: Exported functions
Function, plist-values: Exported functions
Function, radians->degrees: Exported functions
Function, safe-read-file-form: Exported functions
Function, safe-read-file-forms: Exported functions
Function, string->file: Exported functions
Function, string->keyword: Exported functions
Function, string-ends-with-p: Exported functions
Function, string-explode: Exported functions
Function, string-merge: Exported functions
Function, string-starts-with-p: Exported functions
Function, string-trim-whitespace: Exported functions
Function, tree-leaves: Exported functions
Function, zip: Exported functions

H
hash->alist: Exported functions
hash->plist: Exported functions
hash-keys: Exported functions
hash-merge: Exported functions
hash-values: Exported functions
hex-char-p: Exported functions
href: Exported functions

I
if-found: Exported macros
interleave: Exported functions

M
Macro, alist-removef: Exported macros
Macro, define-pfun: Exported macros
Macro, define-printer: Exported macros
Macro, defun-inline: Exported macros
Macro, dlambda: Exported macros
Macro, do-alist: Exported macros
Macro, do-alist-keys: Exported macros
Macro, do-alist-values: Exported macros
Macro, do-hash: Exported macros
Macro, do-hash-keys: Exported macros
Macro, do-hash-values: Exported macros
Macro, do-plist: Exported macros
Macro, do-plist-keys: Exported macros
Macro, do-plist-values: Exported macros
Macro, do-seq: Exported macros
Macro, eval-always: Exported macros
Macro, fn->: Exported macros
Macro, if-found: Exported macros
Macro, mvlet: Exported macros
Macro, mvlet*: Exported macros
Macro, plambda: Exported macros
Macro, plist-removef: Exported macros
Macro, unless-found: Exported macros
Macro, until: Exported macros
Macro, when-found: Exported macros
Macro, while: Exported macros
Macro, with-binary-input: Exported macros
Macro, with-binary-output: Exported macros
Macro, with-file-input: Exported macros
Macro, with-file-output: Exported macros
Macro, with-pvars: Exported macros
make-keyword: Exported functions
make-ub8-array: Exported functions
map-alist: Exported functions
map-alist-keys: Exported functions
map-alist-values: Exported functions
map-domain: Exported functions
map-files: Exported functions
map-plist: Exported functions
map-plist-keys: Exported functions
map-plist-values: Exported functions
mvlet: Exported macros
mvlet*: Exported macros

N
noop: Exported functions
null-char-p: Exported functions

P
pget: Internal functions
plambda: Exported macros
plet/get: Internal functions
plet/set: Internal functions
plist->alist: Exported functions
plist->hash: Exported functions
plist-get: Exported functions
plist-keys: Exported functions
plist-p: Exported functions
plist-remove: Exported functions
plist-removef: Exported macros
plist-values: Exported functions

R
radians->degrees: Exported functions

S
safe-read-file-form: Exported functions
safe-read-file-forms: Exported functions
Setf Expander, (setf pget): Internal functions
string->file: Exported functions
string->keyword: Exported functions
string-ends-with-p: Exported functions
string-explode: Exported functions
string-merge: Exported functions
string-starts-with-p: Exported functions
string-trim-whitespace: Exported functions

T
tree-leaves: Exported functions

U
unless-found: Exported macros
until: Exported macros

W
when-found: Exported macros
while: Exported macros
with-binary-input: Exported macros
with-binary-output: Exported macros
with-file-input: Exported macros
with-file-output: Exported macros
with-pvars: Exported macros

Z
zip: Exported functions

Jump to:   (  
A   C   D   E   F   H   I   M   N   P   R   S   T   U   W   Z  

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

A.3 Variables


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

A.4 Data types

Jump to:   A   B   F   N   O   P   S   T   U  
Index Entry  Section

A
alist: Exported types

B
b16: Exported types
b16-array: Exported types
b24: Exported types
b24-array: Exported types
b32: Exported types
b32-array: Exported types
b64: Exported types
b64-array: Exported types
b8: Exported types
b8-array: Exported types

F
fn->: Exported types

N
net.mfiano.lisp.golden-utils: The net․mfiano․lisp․golden-utils system
net.mfiano.lisp.golden-utils: The net․mfiano․lisp․golden-utils package

O
octet: Exported types

P
Package, net.mfiano.lisp.golden-utils: The net․mfiano․lisp․golden-utils package
plist: Exported types

S
System, net.mfiano.lisp.golden-utils: The net․mfiano․lisp․golden-utils system

T
Type, alist: Exported types
Type, b16: Exported types
Type, b16-array: Exported types
Type, b24: Exported types
Type, b24-array: Exported types
Type, b32: Exported types
Type, b32-array: Exported types
Type, b64: Exported types
Type, b64-array: Exported types
Type, b8: Exported types
Type, b8-array: Exported types
Type, fn->: Exported types
Type, octet: Exported types
Type, plist: Exported types
Type, ub16: Exported types
Type, ub16-array: Exported types
Type, ub24: Exported types
Type, ub24-array: Exported types
Type, ub32: Exported types
Type, ub32-array: Exported types
Type, ub64: Exported types
Type, ub64-array: Exported types
Type, ub8: Exported types
Type, ub8-array: Exported types

U
ub16: Exported types
ub16-array: Exported types
ub24: Exported types
ub24-array: Exported types
ub32: Exported types
ub32-array: Exported types
ub64: Exported types
ub64-array: Exported types
ub8: Exported types
ub8-array: Exported types

Jump to:   A   B   F   N   O   P   S   T   U