CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-prelude-ls

A functionally oriented utility library for LiveScript with curried functions for lists, objects, strings, numbers, and function composition.

89

1.53x
Overview
Eval results
Files

Evaluation results

99%

5%

Segmented Queue Composer

List transforms and concatenation (reverse/slice/take-drop/split-at/concat/concat-map/flatten)

Criteria
Without context
With context

Trim with take/drop

93%

100%

Flatten concat

96%

100%

Tail reversal

95%

95%

Pivot split helper

93%

100%

Immutable by library

90%

100%

60%

60%

Curried Argument Toolkit

Curried function application helpers (apply/curry/flip/over/id/is-type/replicate)

Criteria
Without context
With context

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%

100%

100%

Predicate-Sliced Collections

Predicate-driven list splits (take-while/drop-while/span/break-list)

Criteria
Without context
With context

take-while

0%

100%

drop-while

0%

100%

span

0%

100%

break-list

0%

100%

95%

-3%

Energy Log Aggregator

Aggregations and folds (fold*/sum/product/mean/any/all/and-list/or-list/maximum/minimum)

Criteria
Without context
With context

Totals with sum/fold

100%

100%

Mean via package

100%

100%

Extremes helpers

100%

100%

Boolean folds

100%

100%

Merged via fold

86%

66%

90%

90%

Integer Semantics Toolkit

Number theory and integer arithmetic edges (gcd, lcm, mod/quot/div semantics)

Criteria
Without context
With context

GCD helper

0%

100%

LCM helper

0%

100%

Truncated division

0%

60%

Floored division

0%

100%

100%

Workshop Attendee Analytics

Set-style deduping and grouping (unique/unique-by/difference/intersection/union/count-by/group-by)

Criteria
Without context
With context

Unique roster

100%

100%

Session overlap

100%

100%

Team counting

100%

100%

Role grouping

100%

100%

71%

-4%

Boundary Navigator

List slicing and positional helpers (head/first/tail/last/initial/at/empty)

Criteria
Without context
With context

Prelude import

100%

60%

Bookend helpers

100%

100%

Empty check

100%

100%

Trim with tails

0%

0%

Indexed access

100%

100%

100%

15%

Order List Processing

List iteration and filtering (each/map/filter/reject/compact/partition/find)

Criteria
Without context
With context

Summary map

100%

100%

Falsy compaction

25%

100%

Field filter

100%

100%

Threshold partition

100%

100%

Pending find

100%

100%

85%

45%

Numeric Reading Toolkit

Numeric primitives and rounding (negate/abs/signum/division variants/pow-exp-sqrt-ln/trig/rounding/is-it-NaN/parity)

Criteria
Without context
With context

NaN guard

33%

86%

Rounded sign

40%

56%

Floor division

20%

100%

Trig snapshot

100%

100%

Parity split

0%

86%

90%

Memoized Step Counter

Fixed-point recursion and memoization combinators (fix, memoize)

Criteria
Without context
With context

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
Evaluated
Agent
Codex

Table of Contents