Skip to content

mtavkhelidze/alef.js

Repository files navigation

alef.js

alef.js logo

Immutable Data Structures JavaScript Library


Table of Contents

Description

alef.js is a javascript library which provides immutable data structures.

Interfaces are loosy modeled after Scala.

This alpha release and currently has only on type List.

Install

$ npm install --save alef.js

API

API documentation is automatically generated by scripts/jsdoc.sh and can be found API Documentation.

NB Generated documentation might not be up to date. If unsure check sources directly.

Test

$ git clone https://github.com/mtavkhelidze/alef.js.git
$ cd alef.js
$ npm install
$ npm test

Name

Aleph-null (or Aleph-naught or aleph-zero) is the cardinality of the set of natural numbers.

Similaraly to functional programming (which this library is about) Aleph-null has something to do with mathematics (set theory), immutability, and beer:

99 bottles of beer on the wall, 99 bottles of beer, Take one down, Put it back up, 99 bottles of beer on the wall (repeat).

Logo

The big semi-circle in the logo is Georgian asomtavruli (ასომთავრული) A, aleph that is.