Linisp

Stdlib
Login

Stdlib

This is a file of useful functions that are not directly built into the the Linisp interpreter. It is assumed that most programs will make use of Stdlib for its convenience.

Constants

true

Equal to 1.

false

Equal to 0.

Program struct and flow-control functions

function

Arguments:

Use: Short-hand means to define functions.

Return type: Empty S-Expression

Note: At present functions are bound to the global scope.

List manipulation functions

first

Arguments:

Return type: Any type

Use: Extract the first value from a list

length

Arguments:

Return type: Number

Use: Measures the length of a list