Skip to content

Builtin Functions Index

Builtin Functions Index ​

All builtin functions in meta-lisp, categorized by functionality.

Generic ​

Operations applicable to all types.

Boolean ​

Operations on bool-t.

  • is-bool — Check if a value is a boolean
  • not — Logical not

Integer ​

Operations on int-t.

Type check ​

  • is-int — Check if a value is an integer

Arithmetic ​

Predicates ​

Comparisons ​

Extremum ​

Derived ​

Float ​

Operations on float-t.

Type check ​

  • is-float — Check if a value is a float

Arithmetic ​

Predicates ​

Comparisons ​

Extremum ​

Derived ​

Text ​

Operations on text-t.

Type checks ​

Basics ​

Concatenation and splitting ​

Search and replace ​

Trimming ​

Case conversion ​

Type conversion ​

Characters and code points ​

Derived ​

Symbol ​

Operations on symbol-t.

Void ​

  • is-void — Check if a value is void

Array ​

Operations on (array-t E) — mutable arrays.

Type and construction ​

Access ​

Mutation ​

Copy and conversion ​

Iteration ​

List ​

Operations on (list-t E) — immutable lists.

Type and construction ​

  • list-t — List type constructor
  • null — The empty list
  • is-list — Check if a value is a list
  • cons — Prepend an element

Access ​

Info ​

Transformation ​

Generation ​

Iteration and mapping ​

Folding ​

Quantification ​

Sublists ​

Set ​

Operations on (set-t E).

Type and construction ​

  • set-t — Set type constructor
  • make-set — Create set from a list

Info ​

Mutation ​

Set operations ​

Iteration and transformation ​

Hash table ​

Operations on (hash-t K V).

Type and construction ​

Info ​

Access ​

Conversion ​

Mutation ​

Iteration ​

Mapping ​

Selection ​

Aggregation ​

Pair ​

Operations on (pair-t A B).

Maybe ​

Operations on (maybe-t A).

Box ​

Operations on the opaque type (box-t E).

Function operations ​

Higher-order function manipulation.

  • constant — Return first argument
  • identity — Return argument unchanged
  • swap — Swap function arguments
  • drop — Ignore first argument
  • dup — Duplicate argument

File I/O ​

File handle read/write operations.

Type ​

Open and close ​

Read and write ​

Convenience ​

Standard output ​

  • print — Print any value
  • println — Print any value with newline

Path operations ​

Path text manipulation and file system functions.

Query ​

Read and write ​

Directory operations ​

Delete and rename ​

Assertions ​

Assertion functions for testing.

Error handling ​

Process ​

Random ​

Format ​

Type-specific S-expression formatting functions.

S-expression ​

S-expression parsing, formatting, and related types.

Types ​

Operations ​

JSON ​

JSON values and operations.

Type ​

Parse and format ​