mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-21 05:41:43 +03:00
817 B
817 B
dotzey, %dtzy
Odored atom
dotzay
is a natural hoon that produces a non-cubed atomic constant of
odor p
and value q
. dotzay
is never used explicitly, but always
implicitly to give odors to atoms.
Produces
Twig: [%dtzy p=term q=@]
Sample
Tall form
None
Wide form
None
Irregular form
None
Examples
~zod/try=> (ream '12')
[%dtzy p=%ud q=12]
~zod/try=> (ream '&')
[%dtzy p=%f q=0]
~zod/try=> (ream '~.sam')
[%dtzy p=%ta q=7.168.371]
Here we use ++ream
to unpack how values are parsed. Passing what
what would appear to be constants reveals that they are in fact parsed
into an odor [++term
] and their numeric atom representation.