Portable libraries
19 modules, 215 exports.
stdlib/bit.eli
bit
Portable 32-bit population count and bit rotation operations.
bit-countrotate-leftrotate-right
stdlib/data.eli
data
Portable grouping, indexing, and counting for ordinary sequences.
count-bygroup-byindex-by
stdlib/data-text.eli
data-text
Portable Result-based reading and printing of canonical data text.
data-text-result-valueprint-valueread-valueread-values
stdlib/function.eli
function
Portable function composition, predicate combination, nil normalization, and trampoline execution.
compcomplementconstantlyevery-predfnilidentityjuxtpartialsome-fntrampoline
stdlib/hierarchy.eli
hierarchy
Authenticated immutable derivation hierarchies with transitive and vector relation queries.
ancestorsderivedescendantsempty-hierarchyhierarchy?is-a?parentsunderive
stdlib/identifier.eli
identifier
Portable keyword and symbol construction, classification, and naming.
identifier-nameidentifier-namespaceidentifier?keywordkeyword?portable-keyword?portable-symbol?qualified-namesymbolsymbol?
stdlib/json.eli
json
Strict bounded JSON parsing and deterministic persistent-value encoding.
json-error-codejson-error-messagejson-error-offsetjson-error-pathjson-error?parse-jsonstringify-json
stdlib/metadata.eli
metadata
Portable immutable metadata access, validation, and transformation.
metametadata-valid?supports-metadata?vary-metawith-meta
stdlib/multimethod.eli
multimethod
Callable multimethods with exact and hierarchical dispatch, transitive preferences, ambiguity detection, and persistent snapshots.
add-method!default-dispatch-valuederive!dispatch-fndispatch-valueget-methodhas-method?methodsmulti-fnmulti-fn-hierarchymulti-fn-namemulti-fn?prefer-method!preferencespreferred-method?remove-all-methods!remove-all-preferences!remove-method!remove-preference!set-hierarchy!underive!
stdlib/numeric.eli
numeric
Exact Number classification and checked safe-integer arithmetic.
abschecked-addchecked-multiplychecked-subtractclampcompare-numbereven?finite?gcdinfinite?integer?lcmmax-numbermin-numbermodulonan?negative?number?odd?positive?quotremsafe-integer?signzero?
stdlib/object.eli
object
Portable immutable operations for string-keyed host objects.
assocdissocfilter-valueshas?key-in?keysmap-valuesmergeomitpickupdate
stdlib/persistent-list.eli
persistent-list
Persistent linked lists with structural sharing and immutable metadata.
empty-persistent-listpersistent-list-conjpersistent-list-conspersistent-list-countpersistent-list-empty?persistent-list-firstpersistent-list-from-arraypersistent-list-metapersistent-list-nthpersistent-list-peekpersistent-list-poppersistent-list-reducepersistent-list-restpersistent-list-reversepersistent-list-to-arraypersistent-list-with-metapersistent-list?
stdlib/persistent-map.eli
persistent-map
Persistent HAMT maps with value semantics and collision handling.
empty-persistent-mappersistent-map-assocpersistent-map-countpersistent-map-dissocpersistent-map-from-entriespersistent-map-getpersistent-map-has?persistent-map-metapersistent-map-reducepersistent-map-to-entriespersistent-map-with-metapersistent-map?
stdlib/persistent-set.eli
persistent-set
Persistent map-backed sets and immutable set algebra.
empty-persistent-setpersistent-set-compatible?persistent-set-conjpersistent-set-countpersistent-set-differencepersistent-set-disjpersistent-set-disjoint?persistent-set-empty?persistent-set-equal?persistent-set-from-arraypersistent-set-has?persistent-set-intersectionpersistent-set-metapersistent-set-reducepersistent-set-subset?persistent-set-superset?persistent-set-to-arraypersistent-set-unionpersistent-set-with-metapersistent-set?
stdlib/persistent-vector.eli
persistent-vector
Persistent 32-way vectors with tail optimization and structural sharing.
empty-persistent-vectorpersistent-vector-assocpersistent-vector-conjpersistent-vector-countpersistent-vector-from-arraypersistent-vector-metapersistent-vector-nthpersistent-vector-peekpersistent-vector-poppersistent-vector-reducepersistent-vector-to-arraypersistent-vector-with-metapersistent-vector?
stdlib/result.eli
result
Inspectable Ok and Err values with composable branch operations.
and-thencollect-resultserrerr?foldmap-errmap-okokok?or-elseresult-payloadresult?traverse-resultsunwrap-orunwrap-or-else
stdlib/sequence.eli
sequence
Portable sequence traversal, transformation, search, and range generation.
concatdropevery?filterfindmaprangerange-byreducereversesome?take
stdlib/text.eli
text
Portable text predicates, slicing, joining, trimming, and repetition.
blank?contains?empty?ends-with?joinrepeatslicestarts-at?starts-with?strip-prefixstrip-suffixtrimwhitespace?
stdlib/value.eli
value
Deterministic value equality, hashing, maps, and sets.
empty-value-mapempty-value-setvalue-equal?value-hashvalue-map-from-entriesvalue-set-from-array
Runtime core
21 modules, 341 exports.
stdlib/core/collection.eli
core-collection
Protocol-driven capability inspection, persistent collection classification, bounded counting, value distinctness, O(1) subvector views, construction, lookup, reduction, removal, stack access, and reversible replayable views.
IAssociativeIConjICountedIEmptyableIIndexedIKVReduceILookupIMapIReduceIReversibleISeqableISetIStackReductionViewSequenceViewassocassociative?bounded-countcollection-countcollection-nthcollection-seqcollection?conjcontains?counted?disjdissocdistinct?emptyempty?indexed?list?lookupmap?not-emptypeekpopqueue?reducereduce-kvreducedreduced?reducible?reduction-viewreduction-view?reversible?rseqseqable?sequence-viewsequence?sequential?set?subvecunbounded-sequence-viewunreducedvector?
stdlib/core/data.eli
core-data
Collection-native grouping, keyed projection and transformation, nested associative updates, merging, selection, and zipping.
assoc-incount-byfrequenciesget-ingroup-byindex-bykeysmergemerge-withselect-keysupdateupdate-inupdate-keysupdate-valsvalszipmap
stdlib/core/data-text.eli
core-data-text
Canonical readable data text for persistent values and identifiers.
DataTextErrorIPrintprint-valueread-valueread-values
stdlib/core/identifier.eli
core-identifier
First-class keyword and symbol values with qualified names.
EliscriptSymbolKeywordidentifier-nameidentifier-namespaceidentifier?keywordkeyword?qualified-namesymbolsymbol?
stdlib/core/lazy-sequence.eli
core-lazy-sequence
Demand-driven memoized sequences, deferred recursive tails, direct lazy transformations, and realization inspection.
lazy-conslazy-dedupelazy-distinctlazy-droplazy-drop-whilelazy-filterlazy-interposelazy-keeplazy-keep-indexedlazy-maplazy-map-indexedlazy-mapcatlazy-partition-alllazy-partition-bylazy-removelazy-seqlazy-seq?lazy-takelazy-take-nthlazy-take-whilerealizerealized-countrealized?
stdlib/core/metadata.eli
core-metadata
Immutable metadata protocols and value-preserving updates.
IMetaIWithMetametasupports-metadata?vary-metawith-meta
stdlib/core/object.eli
core-object
Protocol-driven immutable keyed-object transformations.
assocdissocfilter-valueshas?key-in?keysmap-valuesmergeomitpickupdate
stdlib/core/order.eli
core-order
Open comparison protocol, stable sorting, comparator adaptation, and keyed extrema.
IComparablecomparatorcompare-valuesmax-keymin-keyreverse-comparatorsortsort-by
stdlib/core/protocol.eli
core-protocol
Open protocol definition, extension, inspection, and dispatch policy.
define-protocoldefine-protocol-from-definitionextend-protocol-categoryextend-protocol-defaultextend-protocol-typeimplements-protocol-operation?implements-protocol?protocol-definitionprotocol-host-categoryprotocol-methodprotocol-slot
stdlib/core/record.eli
core-record
Declarative immutable Record types with persistent Map, value, metadata, and open protocol semantics.
define-record-typerecord-field-namesrecord-typerecord-type-namerecord-type?record?
stdlib/core/regex.eli
core-regex
Immutable regular-expression patterns, capture-aware matching, memoized lazy scanning, and literal or callback replacement.
re-findre-matchesre-replacere-seqregexregex-flagsregex-sourceregex?
stdlib/core/seq.eli
core-sequence
Protocol-driven replayable sources, head/tail views, finite transformation, interleaving, stepped partitioning, tree traversal, and reduction history.
butlastconcatcyclededupedistinctdropdrop-lastdrop-whileevery?ffirstfilterfindfirstflattenfnextgenerateinterleaveinterleave-allinterposeiteratekeepkeep-indexedlastmapmap-indexedmapcatnextnfirstnnextnot-any?not-every?nth-nextnth-restpartitionpartition-allpartition-byprependrangereductionsremoverepeatrepeatedlyrestreversesecondsequence-nthsomesplit-atsplit-withtaketake-lasttake-nthtake-whiletree-seq
stdlib/core/set.eli
core-set
Protocol-driven persistent Set algebra, membership relations, and relational data operations.
differencedisjoint?indexintersectionjoinmap-invertprojectrenamerename-keysselectsetsubset?superset?union
stdlib/core/sorted.eli
core-sorted
Persistent AVL Maps and Sets with custom comparators, reversible traversal, and bounded range queries.
comparatorempty-sorted-mapempty-sorted-map-byempty-sorted-setempty-sorted-set-byrsubseqsorted-mapsorted-map-bysorted-map?sorted-seqsorted-seq-fromsorted-setsorted-set-bysorted-set?sorted?subseq
stdlib/core/text.eli
core-text
Portable text predicates, slicing, joining, and affix operations.
blank?contains?empty?ends-with?joinrepeatslicestarts-at?starts-with?strip-prefixstrip-suffixtrimwhitespace?
stdlib/core/transducer.eli
core-transducer
Composable single-pass transducers, replayable reducible pipelines, memoized pull sequences, and effectful consumption.
cattingcompletingcompose-transducersdedupingdistinctingdroppingdropping-whileeductionfilteringinterposingintokeepingkeeping-indexedmapcattingmappingmapping-indexedpartitioning-allpartitioning-byremovingrun!sequencetakingtaking-nthtaking-whiletransduce
stdlib/core/transient.eli
core-transient
Owner-token transient builders for efficient isolated construction.
IEditableITransientCollectionassoc!conj!dissoc!persistent!transient
stdlib/core/type.eli
core-type
Frozen positional identity types and lexical anonymous values with complete direct protocol implementations.
define-typedefined-type-fieldsdefined-type-namereify-protocolstype-definition?type-oftype-value?
stdlib/core/walk.eli
core-walk
Stack-safe pre-order and post-order traversal and rewriting of nested persistent values.
postwalkpostwalk-replaceprewalkprewalk-replacewalk
stdlib/core/zipper.eli
core-zipper
Immutable tree locations for stack-safe navigation, editing, and persistent root reconstruction.
append-childbranch?childrendowneditend?insert-childinsert-leftinsert-rightleftleftmostleftslist-zippermake-nodenextnodepathprevremovereplacerightrightmostrightsrootupvector-zipperzipperzipper?
stdlib/persistent-queue.eli
persistent-queue
Persistent FIFO queues with shared Vector views, constant-time dequeue, and amortized constant-time enqueue.
empty-persistent-queuepersistent-queuepersistent-queue-conjpersistent-queue-countpersistent-queue-empty?persistent-queue-metapersistent-queue-peekpersistent-queue-poppersistent-queue-reducepersistent-queue-to-arraypersistent-queue-with-metapersistent-queue?
Host interoperation
1 modules, 11 exports.
stdlib/interop/js.eli
interop-js
Explicit shallow and bounded conversion to native JavaScript containers.
array?from-jsjs-arrayjs-mapjs-map?js-objectjs-setjs-set?object?to-jsto-js-object
State
2 modules, 17 exports.
stdlib/deferred.eli
deferred
Synchronous delayed computation and value-semantic function memoization.
delaydelay?forcememoizerealized?
stdlib/state/atom.eli
state-atom
Synchronous atomic references with value-pair transitions, compare-and-set, validators, and ordered watches.
add-watchatomatom?compare-and-set!derefget-validatorremove-watchreset!reset-vals!set-validator!swap!swap-vals!
No matching modules.