urbit/docs/pub/doc/hoon/runes/ts/tskt.md
Galen Wolfe-Pauly ec2b8f56fd doc -> docs
2015-02-24 11:33:50 -08:00

705 B

tisket, =^, %tskt

[Short description]

=^ is a synthetic rune that handles a product which is a cell of a new result, and a mutation to the subject.

Produces

Twig: [%tskt p=twig q=twig r=twig s=twig]

Sample

p, q, r and s are twigs.

Tall form

Kingside:

=^    p 
    q
  r
s

Queenside:

=^  p  q
  r
s

Wide form

=^(p q r s)

Irregular form

None

Examples

~zod/try=> =+  a=3
           =^  b  a  [a +(a)]
           [a ~ b]
[4 ~ 3]
~zod/try=> =+  a="ham"
           =^  b  a  a
           [<`@tas`b> a]
["%h" "am"]