ares/hoon/codegen/sur/sock.hoon
2023-01-26 18:02:49 -06:00

15 lines
622 B
Plaintext

|%
+$ sock
$% [%know know=*] :: We know everything about this noun
[%bets hed=sock tal=sock] :: This noun is a cell, with partial knowledge of its head and tail
[%dice ~] :: This noun is an atom
[%flip ~] :: This noun is an atom, specifically 0 or 1
[%toss ~] :: We know nothing about this noun
==
+$ boot
$% [%boom ~] :: The Nock will crash
[%risk hope=sock] :: The Nock that produces this noun might crash
[%safe sure=sock] :: The Nock that produces this noun will not crash
==
--