@ -61,7 +61,9 @@ Supports values of `'true` or `'false`.
### Buffer type
### Buffer type
Buffer types represent fixed-length byte buffers. Currently, the only way to construct a Buffer is using string literals, for example `"alice.id"` or `hash160("bob.id")`
Buffer types represent fixed-length byte buffers. A Buffer can either be constructed using:
- String literals, for example `"alice.id"` or `hash160("bob.id")`,
- Hexadecimals literals, for example `0xABCDEF`.
All of the hash functions return buffers:
All of the hash functions return buffers:
@ -73,7 +75,7 @@ The block properties `header-hash`, `burnchain-header-hash`, and `vrf-seed` are
### List type
### List type
Clarity supports lists of the atomic types. However, the only variable length lists in the language appear as function inputs; there is no support for list operations like append or join.
Clarity supports lists of the atomic types. However, the only variable length lists in the language appear as function inputs.
### Principal type
### Principal type
@ -100,19 +102,19 @@ This allows for creating named tuples on the fly, which is useful for data maps