Skip to content

Repository files navigation

Pocket lisp Standard Library

Standard library for Pocket lisp.

License: MIT code style: prettier Travis Build Status Codecov Code Coverage

Stdlib

Types based on Fantasy land

Basic data types

  • Bool
  • Number
  • Fraction number
  • String
  • Vector
  • HashMap

Math functions and constants

  • E
  • LN2
  • LN10
  • LOG2E
  • LOG10E
  • PI
  • SQRT1_2
  • SQRT2
  • abs
  • sign
  • min
  • max
  • floor
  • round
  • ceil
  • trunc
  • cbrt
  • sqrt
  • exp
  • pow
  • log
  • log2
  • log10

Other functions

  • random
  • random-int
  • shuffle

https://maxinteger.github.io/pocket-lisp/

For contributors

You can build packages locally with

npm build

or do continuous build with

npm watch

Also you can run test by

npm test

Releases

Packages

Used by

Contributors

Languages