4m: Formatting Functions
+scot
+scotRender $dime as $cord.
Renders a $dime .mol as a $cord.
Accepts
.mol is a $dime.
Produces
A $cord.
Source
++ scot
~/ %scot
|=(mol=dime ~(rent co %$ mol))Examples
> (scot %p ~pillyt)
~.~pillyt> `@t`(scot %p ~pillyt)
'~pillyt'+scow
+scowRender $dime as $tape.
Renders a $dime .mol as a $tape.
Accepts
.mol is a $dime.
Produces
A $tape.
Source
Examples
+slat
+slatCurried slaw.
Produces a $gate that parses a $knot .txt to a +unit containing the $atom of the aura specified by .mod. The +unit will be null if parsing failed.
Accepts
.mod is a $knot.
.txt is a $cord.
Produces
A (unit @).
Source
Examples
+slav
+slavDemand: parse $cord with input aura.
Parses a $cord .txt to an $atom of the aura specificed by .mod. Crashes if it fails to parse.
Accepts
.mod is a $term
.txt is a $knot.
Produces
an $atom.
Source
Examples
+slaw
+slawParse $cord to input aura.
Parses a $cord .txt to a +unit containing the $atom of the aura specified by .mod. The +unit is null if parsing failed.
Accepts
.mod is a $term.
.txt is a $knot.
Produces
A (unit @).
Source
Examples
+slay
+slayParse $cord to $coin.
Parses a $cord .txt to the unit of a $coin.
Accepts
.txt is a @ta.
Produces
A (unit coin).
Source
Examples
+smyt
+smytRender $path as $tank.
Renders the $path .bon as a $tank, which is used for pretty-printing.
Accepts
.bon is a $path.
Produces
A $tank.
Source
Examples
+spat
+spatRender $path as $cord.
Renders a $path .pax as $cord.
Accepts
.pax is a $path.
Produces
A $cord.
Source
Examples
+spud
+spudRender $path as $tape.
Renders a $path .pax as $tape.
Accepts
.pax is a $path.
Produces
A $tape.
Source
Examples
+stab
+stabParse $cord to $path.
Parses a $cord .zep to a static $path. Crashes if it fails to parse.
Accepts
.zep is a @t.
Produces
A $path, or crash.
Source
Examples
+stap
+stapPath parser.
Parsing $rule. Parses a $path, used internally by +stab.
Source
Examples
Last updated