mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-27 00:44:27 +03:00
636 B
636 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