API Reference

Written by lp9 api. The built-in classes come from the one table the compiler reads to type a send and the runtime reads to perform one, so what is listed here is what the language answers. The standard library, written in LP-9, is read with LP-9's own parser.

Types are written the way the table writes them. self is the receiver's own type; elem is the element type of an Array, Maybe or Future; key and val are a Dict's; a and b stand for anything. A method of the library is listed without types, because the types it has are the ones inference gives it where it is used.

Object is every receiver, Class is any class object, and Instance is an instance of a class the program declared; none of the three can be written down by a program.

Table of contents

Built-in classes

Standard library


Forms

These are sends the table cannot hold, because what they answer is not decided by the receiver's type and the selector alone. Each is checked where it is written.


Built-in classes

Actor

Instance methods

Array

Instance methods

Base64

Class methods

Block

Instance methods

Bool

Instance methods

Class

Instance methods

Clipboard

Class methods

DB

Class methods

Instance methods

Date

Class methods

Instance methods

DateTime

Class methods

Instance methods

DbRow

Instance methods

Decimal

Instance methods

Dict

Class methods

Instance methods

Error

Class methods

File

Class methods

FileDialog

Class methods

FileHandle

Instance methods

Float

Class methods

Instance methods

Future

Class methods

Instance methods

Gfx

Instance methods

Hash

Class methods

Hotkey

Class methods

Http

Class methods

HttpResponse

Instance methods

Image

Class methods

Instance methods

Instance

Instance methods

Instant

Class methods

Instance methods

Int

Instance methods

Json

Class methods

Instance methods

Mariadb

Class methods

MariadbConnection

Instance methods

Maybe

Instance methods

MsgPack

Class methods

OS

Class methods

Object

Instance methods

Paint

Class methods

Instance methods

Postgres

Class methods

PostgresConnection

Instance methods

Regex

Class methods

Instance methods

RegexMatch

Instance methods

Rounding

Class methods

Sql

Instance methods

SqlTemplate

Class methods

Instance methods

Str

Class methods

Instance methods

TCP

Class methods

TCPServer

Instance methods

TCPSocket

Instance methods

TLS

Class methods

TLSSocket

Instance methods

TimeZone

Class methods

Instance methods

Tray

Class methods

Window

Class methods

Zlib

Class methods


Standard library

Written in LP-9, in stdlib/. A program reaches it with imports: (Ui). at the top of the file.

Col

Class methods

Instance methods

Comparable

Instance methods

Edit

Class methods

Instance methods

Enumerable

Instance methods

Memo

Class methods

Instance methods

OrderedDict

Class methods

Instance methods

Span

Instance methods

Theme

Class methods

Tree

Class methods

Instance methods

TreeWalk

Class methods

Instance methods

W

Class methods

Wrapping

Class methods

Instance methods