0.0.13 • Published 10 years ago

fantasy-arrays v0.0.13

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

fantasy-arrays

This library implements purely functional, monadic homogenous array data structures.

Seq

Seq is just a wrapper around the native Array structure, but gives you lots of other functions that should be useful.

var a = Seq.range(0, 12);
a.take(0, 10); // 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

List

List is a linked lists with associated functions.

var a = List.range(0, 12);
a.take(0, 10); // 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

NonEmpty

NonEmpty is a structure that can not be empty.

NonEmpty.of(1); // 1

Fantasy Land Compatible

npm.io

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago