Hoon101/101/week3/week3.hoon

9 lines
93 B
Plaintext
Raw Normal View History

2019-07-23 04:48:22 -04:00
|= a=(list *)
2019-08-07 23:40:11 -04:00
=/ n=@ud 1
2019-07-23 04:48:22 -04:00
|-
2019-08-07 23:40:11 -04:00
?~ a
%napoleonesque-list
?: =(3 n)
2019-07-23 04:48:22 -04:00
i.a
2019-08-07 23:40:11 -04:00
$(n +(n), a t.a)