urbit/pub/docs/dev/hoon/runes/zp/zpzp.md

49 lines
555 B
Markdown
Raw Normal View History

zapzap, `!!`, %zpzp
2015-02-18 06:03:21 +03:00
============================
Crash
`!?` is a natural rune that always crashes.
Produces
--------
Twig: `[%zpzp ~]`
Sample
------
Always ignored
Tall form
---------
None
Wide form
---------
!!
Irregular form
--------------
None
Examples
--------
Frequently used as sentinel
~zod/try=> !!
! exit
~zod/try=> =|(a=(unit) ?^(a !! %none))
%none
~zod/try=> :type; =|(a=(unit) ?^(a !! %none))
%none
%none
~zod/try=> ?+('a' !! %a 1, %b 2)
1
~zod/try=> ?+('c' !! %a 1, %b 2)
! exit