forked from urbit/archaeology
-
Notifications
You must be signed in to change notification settings - Fork 0
Hoon lore
Adam Bliss edited this page Oct 25, 2013
·
1 revision
++ lore :: atom to line list
~/ %lore
|= lub=@
=| tez=(list ,@t)
|- ^+ tez
?: =(0 lub) (flop tez)
=+ ^= meg
=+ meg=0
|- ^- @ud
=+ gam=(cut 3 [meg 1] lub)
?:(|(=(10 gam) =(0 gam)) meg $(meg +(meg)))
$(lub (rsh 3 +(meg) lub), tez [(end 3 meg lub) tez])
Parts of this document are generated automatically. Edits within the comments section will be preserved.