ares/hoon/codegen/sur/sock.hoon

15 lines
622 B
Plaintext
Raw Permalink Normal View History

|%
+$ 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
2022-11-30 05:44:51 +03:00
[%toss ~] :: We know nothing about this noun
==
+$ boot
2022-11-30 05:44:51 +03:00
$% [%boom ~] :: The Nock will crash
[%risk hope=sock] :: The Nock that produces this noun might crash
2022-11-30 05:44:51 +03:00
[%safe sure=sock] :: The Nock that produces this noun will not crash
==
--