mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-17 11:51:32 +03:00
18 lines
311 B
Plaintext
18 lines
311 B
Plaintext
::
|
|
:::: /hoon/moon/gen
|
|
::
|
|
/? 310
|
|
::
|
|
::::
|
|
!:
|
|
:- %say
|
|
|= $: {now/@da eny/@uvI bec/beak}
|
|
$~
|
|
$~
|
|
==
|
|
:- %noun
|
|
?> =(1 (met 5 p.bec))
|
|
=+ mon=(mix (lsh 5 1 (end 5 1 eny)) p.bec)
|
|
=+ tic=.^(@ /a/(scot %p p.bec)/tick/(scot %da now)/(scot %p mon))
|
|
"moon: {<`@p`mon>}; ticket: {<`@p`tic>}"
|