This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
tA
/
Hoon101
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
egg timer done
master
Thorn Avery
4 years ago
parent
aac01b3ce3
commit
40795a9d30
1 changed files
with
16 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+16
-0
201/week4/egg.hoon
+ 16
- 0
201/week4/egg.hoon
View File
@@ -0,0 +1,18 @@
|%
+$ effect (pair bone syscall)
+$ syscall [%wait path @da]
--
|_ [bowl:gall ~]
|= t=@da
?: (lth t now)
!!
^+ [*(list effect) +>.$]
:_ +>.$ :_ ~
[ost %wait /egg-timer t]
|= [=wire error=(unit tang)]
^+ [*(list effect) +>.$]
~& "Timer went off!"
[~ +>.$]
--
Write
Preview
Loading…
Cancel
Save