mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-18 20:31:40 +03:00
645 B
645 B
wuthaz, %wthz
[Short description]
wuthaz
, [%wthz p=wing q=tine]
is a synthetic hoon that selects a
case in q
for the actual type of p
.
Produces
[Twig or tile]
Sample
[p
is a * q
is a *]
Tall form
Kingside:
?- p
p.i.q q.i.q
p.i.t.q q.i.t.q
p.i.t.t.q q.i.t.t.q
==
Queenside:
?- p
p.i.q
q.i.q
p.i.t.q
q.i.t.q
p.i.t.t.q
q.i.t.t.q
==
Wide form
?-(p p.i.q q.i.q, p.i.t.q q.i.t.q, p.i.t.t.q q.i.t.t.q)
Irregular form
None