Domains

CATEGORIZE

format
function?
print

<boolean>

boolean?

<cell>

cell
cell?

<channel>

channel-empty?
channel?
make-channel
input
input?
output
output?
send
set-input!
set-output!
wait

<closure>

closure?

<dict>

Dictionary arrays.

dict - Creates a dictionary array from a group of pairs.
dict? - Tests if a given argument is a dictionary.
dict-keys - Returns the keys of the given dictionary, as a list.
dict-values - Returns the values of the given dictionary, as a list.
dict-set? - Tests for a given key in a dictionary; returns a boolean.
dict-set! - Sets value for a given key in a dictionary.
dict-ref - Searches the dictionary using a key reference.
dict-remove! - Deletes a dictionary entry, by key.

<ecdh-key>

Elliptic Curve Diffie-Hellman protocol keys.

key-size - Key size in bits.
key-block-size - Key size in 16-bit blocks.
xor-string - Performs Bitwise XOR operation on a string.
base64-encode - Encodes a string that is otherwise unprintable into base64.
base64-decode - Decodes a base64 string back into its original representation.
make-ecdh-key - Creates an ECDH key.
import-ecdh - Converts a stored string to an ECDH key.
export-public-ecdh - Stores public portion of ECDH key as string.
export-private-ecdh - Stores private portion of ECDH key as string.
ecdh-shared-secret - Creates the ECDH shared secret.
ecdh-key? - Tests if the given argument is of type <ecdh-key>.
ecdh-public-key? - Tests if the given argument is an ECDH-key, public portion.
ecdh-private-key? - Tests if the given arguments is an ECDH-key, private portion.

Encryption

All entries relating to Encryption.
key-size - Key size in bits.
key-block-size - Key size in 16-bit blocks.
xor-string - Performs Bitwise XOR operation on a string.
base64-encode - Encodes a string that is otherwise unprintable into base64.
base64-decode - Decodes a base64 string back into its original representation.
make-ecdh-key - Creates an ECDH key.
import-ecdh - Converts a stored string to an ECDH key.
export-public-ecdh - Stores public portion of ECDH key as string.
export-private-ecdh - Stores private portion of ECDH key as string.
ecdh-shared-secret - Creates the ECDH shared secret.
ecdh-key? - Tests if the given argument is of type <ecdh-key>.
ecdh-public-key? - Tests if the given argument is an ECDH-key, public portion.
ecdh-private-key? - Tests if the given arguments is an ECDH-key, private portion.
cfb? - Tests if the given argument is a CFB.
make-cfb - Creates a CFB from encryption key, initialization vector, and encryption function.
cfb-encrypt - Encrypts a string using a CFB.
cfb-decrypt - Decrypts a string using a CFB.
decrypt-filter -
encrypt-filter -

EQUALITY

eq? -
equal? -

<error>

Error type.

error - Throws an error.
re-error - Resumes an error case after a <guard> has been encountered.
error? - Tests if the given argument is of type <error>.
error-key - Returns the key field of an <error>
error-info - Returns the info field of an <error>.
error-context - Returns the context field of an <error>.

<file>

close-file
closed-file?
file?
open-file
read-file
file-skip - Causes the pointer to jump forward or backward by a given integer.
file-pos - Returns the position of the "pointer" in a file
file-seek - Sets the pointer to the specified value.
file-len - Returns the length of the given file (port or descriptor)
open-file - Opens a file descriptor. Uses flags.
path-mtime - Returns the MTIME field of a file.
path-exists? - Tests if a given path exists in the host OS.
file-path? - Tests if a given file exists in the host OS.

Flow Control

unless - If a test returns false, evaluates a series of expressions.
when - If a test returns true, evaluates a series of expressions.
while - Loops until a test returns false.
if - An If-Then procedure.
case -
until - Loops until a test returns true.
else - Not a separate function! Optional part of other functions.

<guard>

guard - Error-catching function.
guard?

<http-request>

http-request-arg -
http-request-body - Returns the Body of an Http-Request.
http-request-header - Accepts Http-Request and Key, returns associated value.
http-request-headers - Returns the headers field of an HTTP-Request.
http-request-method - Returns the method field of an HTTP-Request.
http-request-input
http-request-output
http-request-url - Returns the URL object found in an HTTP-Request.
http-request-version - Returns the version field of an HTTP-Request.
http-request? - Tests if the given argument is an HTTP-Request.
read-http-request - Reads from a given port and converts string input to HTTP-Request.
spawn-http-server - Creates an HTTP Server.
write-http-response - Writes an HTTP Response to a given port.
http-request-input
http-request-output

<http-url>

http-url-arg - Given a key, searches for the associated value in the args field.
http-url-args - Returns the args field of the given http-url.
http-url-frag - As url-frag, but http-url specific.
http-url-host - Returns the host field of the given http-url.
http-url-path - Returns the path field of the given http-url.
http-url-portno - Returns the network port for a given http-url.
http-url-user - Returns the user field of a given http-url.
http-url? - Tests if the given argument is an http-url.
make-http-url - Creates an http-url, using arguments as fill.
url-auth - Returns the authority of a url.
url-frag - Returns the fragment field of a given URL.
url-path - Returns the path field of a given URL.
url-query - Returns the query field of a given URL, as a string.
url-scheme - Returns the scheme field of a given URL.

INPUT AND OUTPUT

Reading input, writing output.

write-data-file - Writes string2 to the file described in string1.
read-data-file - Reads the contents of the given data file.
read-lisp-file - Returns the contents of the given file as unevaluated expressions.
read-module-source -

Internal Items

Vm?
Tree?
Set-Clue-Record-Parameters
Set-Clue-Record-Parameter
Percent-Encode
Percent-Decode
New-Clue-Record
New-Clue-Db
Make-Multimethod
Make-Field-Modifier
Make-Field-Accessor
Make-Class-Constructor
Make-Branch-Symbol
Main
Get-Clue-Record-Value
Get-Clue-Record-Parameters
Do-With-Output
Do-With-Io
Do-With-Input
Do-T
Do-s
Do-R
Clue-Union
Clue-Records-With-Parameter
Clue-Records-With-Key
Clue-Db-Records
Clue-Record->list
Clue-Db->list
Call-Frame?
Build-Dependencies
Build-Module
Argv
Argc
<vm>
<multimethod>
<call-Frame>

LIST

See <pair>.

<listener>

listener?
tcp-listen - Opens a listening port.

Logical Operators

and - Returns #t if all values are true.
not - Makes true false, and false true.
or - Returns #t if any values are true.

<mailto-url>

mailto-url? - Tests if the given argument is a mailto-url.
make-mailto-url - Creates a mailto-url from user and host strings.
parse-mailto-url - Used internally to produce <mailto-url>s from the separate fields of a URL.
url-auth - Returns the authority of a url.
url-frag - Returns the fragment field of a given URL.
url-path - Returns the path field of a given URL.
url-query - Returns the query field of a given URL, as a string.
url-scheme - Returns the scheme field of a given URL.

<null>

Needs Description.

<number>

The Mosquito Lisp number type. Only integers are handled in Mosquito Lisp at this time.
abs - Absolute Value of an integer.
Mathematical Operators - + - * /
quotient - Division function
remainder - Division function
Mathematical Comparisons < > <= >= = !=
number? - Tests if a given argument is a number.
integer? - Tests if a given argument is an integer.

<object>

define-class - Creates a new class of <object>.
class-fields - Returns the fields for an <object>.
define-record-type - Creates an object that resembles Scheme's Record type.

<pair>

Scheme-like pairs and lists.

cadr - Maps to (car (cdr '(list)))
reverse - Returns a reversed list.
reverse! - As reverse, but permanently alters the original list.
caddr - Maps to (car (cdr (cdr '(list))))
last-pair - Returns the last pair of a list.
last-item - Returns the last item in a list.
list-ref - Returns the value found at the given index in a list.
append - Creates a new list out of a series of other lists.
append! - Alters the first list to include the elements of other lists.
list-index - Returns the index of the first element in a list that is true for a given predicate, or #f if none.
memq - Given an object and a list, returns car of the list beginning where the object is found.
member - Returns a sublist of a list that starts with the given value, or #f if not found.
map-car - As (map (car (list a b c))), but more efficient in usage.
map-cdr - As (map (cdr (list a b c))), but more efficient in usage.
pair? - Tests if the given item is a pair or a list.
null? - Tests if a given argument is the empty list.
cons - Creates a dotted pair from two elements.
car - Returns the first item in a list or pair.
cdr - Returns all BUT the first item in a list or pair.
set-car! - Sets the first item in a list or pair to a given argument.
set-cdr! - Sets the cdr of a list or pair to a given argument.
list - Creates a list from given arguments.
length - Returns the length of a list or pair.
list? - Tests if the given item is a list.
assq - Given an argument and a list of pairs, return the first pair of which the car matches the argument.
assoc - Creates an associative list.
for-each - Applies a procedure to each element of a list in turn.
apply - Performs a procedure, usiing elements of a list as arguments. Other arguments are also accepted.
map - Performs a procedure, by element, on multiple lists.
filter - Applies a predicate to a list, and returns a list of true values.
filter! - As filter, but alters the original list.
find - Using a predicate, searches a list for the first true value.
find-tail - As find, and returns all values after the first true value.
fold - Applies a procedure to a list, iteratively.

<primitive>

Primitives type.
primitive?

<procedure>

procedure?
compile - Compiling, Step 1.
optimize - Compiling, Step 2.
assemble - Compiling, Step 3.
load - Load a program, either type.
load-mo - Load a compiled program.
load-ms - Load a program from a source file.
mosc - Takes a Lisp file, and: compile, optimize, assemble, freeze

<process>

Processes.

spawn - Spawns a new process.
pause - Pauses a given process.
halt - Halts a given process.
active-process - Returns the currently active process.
process? - Tests if the given argument is a process.
waiting?

<random>

Entropy generation.

make-random - Creates a <random> using one of several algorithms.
random? - Tests if the given argument is a <random>
add-entropy - Adds entropy to a given <random>.
random-string - Returns a random string of given length. Source of entropy may be given as well.
random-quad - Returns a random byte "quad".
random-integer - Random number generator. Integers only.
random-algorithm - Returns the algorithm used by a given <random>.
export-random - Converts a <random> to a string, for storage.
import-random - Converts a string from export-random back to a <random>.

<regex>

Regular Expressions.

match-regex -
match-regex* -
make-regex - Creates a regular expression from a string argument.
regex? - Tests if the given argument is a regular expression.

<set>

Sets, in the mathematical sense of the word.

set - Creates a mathematical set.
set-add! - Adds the given value to the set.
set-remove! - Removes the given value from the set.
set-member? - Tests if the given argument is a member of the set.
set? - Tests if the given argument is a set.

spot-testing

Topic: In-line unit testing.
disable-spot-tests - Disables Spot-Testing.
enable-spot-tests - Enables Spot-Testing.
r -
s -
t -
spot-report -

<stream>

stream-closed?
stream?
tcp-connect
resolve-addr - Resolves a domain name.

<string>

The classic "string" type, also performs as a buffer.

string-find - Searches a string for the presence of another string. Returns index if found, or #f.
string-begins-with? - Tests if the given string begins with another given string.
string-ends-with? - Tests if the given string begins with another given string.
split-lines - Splits a string by \r, \n, or \r\n.
string-split - Splits a string using the first instance of another given string.
string-replace - Replace all instances of a given pattern with text, in a string.
string-split* - Splits a string using all instances of another given string.
string-join - Joins a series of strings using another string.
string-length - Gives the length of a string.
substring - From a given index, for a given length, returns a substring of string.
string-head - Gives the first X characters of a string.
string-tail - Gives the last X characters of a string.
string-ref - Gives the character found at index reference in a string.
string=? - Tests if two strings are equal.
string? - Tests if the given argument is a string.
string-append - Appends two strings.
string-alter!
string-append!
string-append-byte!
string-append-quad!
string-append-word!
string-erase!
string-insert!
string-prepend!
string-read!
string-read-byte!
string-read-line!
string-read-quad!
string-read-word!
string-skip-space!
strip
strip-head
strip-tail
empty-string?
flush-string

S-XML

xml-escape - Makes strings "safe" for XML and HTML.
get-sxml-attr- Returns the value of an attribute associated with an SXML value, or #f if absent.
get-sxml-attrs - Returns an association list of attributes associated with an SXML value.
get-sxml-item - Returns an SXML item, referenced by either index or symbol.
get-sxml-item* - As get-sxml-item, but returns all values that match.
get-sxml-items - Returns a list of items contained in the given sxml value.
make-sxml - Converts a string of XML to SXML.
get-sxml-tag - Returns the tag from an SXML list.
has-sxml-tag? - Tests if the given SXML list has the given tag.
has-sxml-attr? - Tests if the given SXML list has a given attribute key-value combination.
sxml-drill -

<symbol>

Scheme-like Symbols.

symbol? - Tests if the given argument is a symbol.
symbol-starts-with? - Tests if the given symbol starts with given character(s).
make-symbol - Appends one or more strings, then converts them to a symbol.
? - Validates the given symbol.

<tag>

make-tag
tag-info
tag?
tag

<tc>

Tail-concatenated Lists.

make-tc - Creates a tc with the given arguments.
tc-clear! - Empties a given tc.
tc-splice! - Adds the elements of a list to a tc.
tc? - Tests if a given argument is a tc.
tc-next! - Returns the first item in a tc, removing it from the tc.
tc-empty? - Tests if a given tc is empty.
tc-append! - Adds the given argument to the tail of a tc.
tc-prepend! - Adds the given argument to the head of a tc.

<timeout>

cancel-timeout
timeout
timeout?

Topics

A Few General Resources On Scheme and Lisp For Beginners
Encryption In Mosvm and Mosref
Mosref Ecdh Affiliation

<type>

type-name - Returns the name of a given type as a symbol.
type - Returns the type of a given argument.
repr - Converts an argument to the parent-type of that argument's type.
isa? - Given a value and a type, performs a boolean test.
type?

<url>

*url-Parsers* - Dict. Stores functions registered by register-url-parser.
*url-Regex* - Stores Regular Expression for handling URLs.
make-url - Creates a <URL> object using arguments as fill.
register-url-parser -
string->url - Given a string, parses it into a URL object.
url->string - Given a URL object, converts it to a standard URL string.
url-auth - Returns the authority of a url.
url-frag - Returns the fragment field of a given URL.
url-path - Returns the path field of a given URL.
url-query - Returns the query field of a given URL, as a string.
url-scheme - Returns the scheme field of a given URL.
url? - Tests if the given argument is a <URL>.

Variables

*max-imm*
*max-int*
*min-imm*
*min-int*
*spot-s*
*spot-v*
*stdio*

<vector>

Fixed-length arrays, faster than lists.

make-vector - Creates a vector of a given length.
vector - Creates a vector, using given arguments.
vector-ref - Returns the item found at a given reference in a vector.
vector-set! - Sets the value of a given reference to a given value.
vector-length - Returns the length of a vector.
vector? - Tests if a given argument is a vector.