on bfaa358 help sign in
38 lines 481 B history raw
1### `++sand`
3Soft-cast by odor
5Soft-cast validity by odor.
7Accepts
8-------
10`a` is a `++span` (`@ta`).
12`b` is an atom.
14Produces
15--------
17A `(unit @)`.
19Source
20------
22 ++ sand :: atom sanity
23 |= a/@ta
24 |= b/@ ^- (unit @)
25 ?.(((sane a) b) ~ [~ b])
26 ::
28Examples
29--------
31 /~zod/try=> `(unit @ta)`((sand %ta) 'sym-som')
32 [~ ~.sym-som]
33 /~zod/try=> `(unit @ta)`((sand %ta) 'err!')
34 ~
38***