A functionally oriented utility library for LiveScript with curried functions for lists, objects, strings, numbers, and function composition.
89
List transforms and concatenation (reverse/slice/take-drop/split-at/concat/concat-map/flatten)
Trim with take/drop
93%
100%
Flatten concat
96%
100%
Tail reversal
95%
95%
Pivot split helper
93%
100%
Immutable by library
90%
100%
Curried function application helpers (apply/curry/flip/over/id/is-type/replicate)
apply usage
0%
100%
curry usage
0%
100%
flip usage
0%
0%
over projection
0%
0%
identity default
0%
100%
type guard
0%
0%
replication
0%
100%
Predicate-driven list splits (take-while/drop-while/span/break-list)
take-while
0%
100%
drop-while
0%
100%
span
0%
100%
break-list
0%
100%
Aggregations and folds (fold*/sum/product/mean/any/all/and-list/or-list/maximum/minimum)
Totals with sum/fold
100%
100%
Mean via package
100%
100%
Extremes helpers
100%
100%
Boolean folds
100%
100%
Merged via fold
86%
66%
Number theory and integer arithmetic edges (gcd, lcm, mod/quot/div semantics)
GCD helper
0%
100%
LCM helper
0%
100%
Truncated division
0%
60%
Floored division
0%
100%
Set-style deduping and grouping (unique/unique-by/difference/intersection/union/count-by/group-by)
Unique roster
100%
100%
Session overlap
100%
100%
Team counting
100%
100%
Role grouping
100%
100%
List slicing and positional helpers (head/first/tail/last/initial/at/empty)
Prelude import
100%
60%
Bookend helpers
100%
100%
Empty check
100%
100%
Trim with tails
0%
0%
Indexed access
100%
100%
List iteration and filtering (each/map/filter/reject/compact/partition/find)
Summary map
100%
100%
Falsy compaction
25%
100%
Field filter
100%
100%
Threshold partition
100%
100%
Pending find
100%
100%
Numeric primitives and rounding (negate/abs/signum/division variants/pow-exp-sqrt-ln/trig/rounding/is-it-NaN/parity)
NaN guard
33%
86%
Rounded sign
40%
56%
Floor division
20%
100%
Trig snapshot
100%
100%
Parity split
0%
86%
Fixed-point recursion and memoization combinators (fix, memoize)
Fix-based recurrence
100%
100%
Memoize wrapper
66%
66%
Cache hits
100%
100%
Cache reset
100%
100%
Package import
100%
100%
Install with Tessl CLI
npx tessl i tessl/npm-prelude-ls