2m: Container from Noun
+ly
A +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
Map 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
Set 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
Noun-to-container operations.
Core whose arms contain functions that create various typed $nouns from raw $nouns.
Source
+le:nl
Construct +list.
Takes a null-terminated $noun and produces a +list.
Accepts
.a is a null-terminated $noun.
Produces
A +list.
Source
Examples
+my:nl
Construct +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
Construct +set.
Takes a null-terminated $noun and produces a +set.
Accepts
.a is a null-terminated $noun.
Produces
A +set.
Source
Examples
+snag:nl
Index.
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
Concatenate.
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