shrub/pub/doc/hoon/runes/cl/clfs.md
2015-06-19 17:16:48 -04:00

591 B

colfas, :/, %clfs

Internal interpolation

:/, colfas, is a synthetic hoon that produces [%$ [%$ p ~] ~], i.e., [0 [0 p 0] 0].

See also

++manx #semdoq, %smdq

Produces

Twig: [%clfs p=twig]

Sample

p is a twig

Tall form

:/  p

Wide form

:/(p)

Irregular form

undefined

Examples

~zod/try=> :/(20)
[[%~. [%~. 20] ~] ~]
~zod/try=> :/(add 2 2)
[[%~. [%~. 4] ~] ~]

Wraps twig in [%$ [%$ .] ~]~, used for interpolation.