2m: Container from Noun
+ly
+lyA +list from raw $noun.
Takes a null-terminated $noun and produces a +list.
Accepts
.a is a null-terminated $noun.
Produces
A +list.
Source
++ ly
le:nlExamples
> (ly [1 2 3 ~])
~[1 2 3]> (ly "abc")
~['a' 'b' 'c']Discussion
+ly is an alias for +le:nl.
+my
+myMap from raw $noun.
Takes a null-terminated $noun and produces a +map.
Accepts
.a is a $noun composed of ordered pairs and terminated with ~.
Produces
A +map.
Source
Examples
Discussion
Note that +my is an alias for +my:nl.
+sy
+sySet from raw $noun.
Takes a null-terminated $noun and produces a +set.
Accepts
.a is a null-terminated $noun.
Produces
A +set.
Source
Examples
Discussion
+sy is an alias for +si:nl.
+nl
+nlNoun-to-container operations.
Core whose arms contain functions that create various typed $nouns from raw $nouns.
Source
+le:nl
+le:nlConstruct +list.
Takes a null-terminated $noun and produces a +list.
Accepts
.a is a null-terminated $noun.
Produces
A +list.
Source
Examples
+my:nl
+my:nlConstruct +map.
Takes a null-terminated $noun and produces a +map of the same type of the .p and .q passed in.
Accepts
.a is a $noun composed of ordered pairs and terminated with ~.
Produces
A +map.
Source
Examples
+si:nl
+si:nlConstruct +set.
Takes a null-terminated $noun and produces a +set.
Accepts
.a is a null-terminated $noun.
Produces
A +set.
Source
Examples
+snag:nl
+snag:nlIndex.
Produces the element at the index .a of null-terminated $noun .b and failing if the $noun is null. +lists are 0-indexed.
Accepts
.a is a $noun.
.b is a null-terminated $noun.
Produces
A $noun.
Sources
Examples
+weld:nl
+weld:nlConcatenate.
Produces a +list that is the concatenation of null-terminated $nouns .a and .b.
Accepts
.a is a null-terminated $noun.
.b is a null-terminated $noun.
Produces
A +list.
Source
Examples
Last updated