0.0.13 • Published 9 years ago

fantasy-arrays v0.0.13

Weekly downloads
1
License
MIT
Repository
github
Last release
9 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

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago