Update simple-serialize.md (#969)

This commit is contained in:
JSON 2019-04-20 00:18:14 -05:00 committed by Justin
parent 39d0822602
commit 8c59bfd9be
1 changed files with 2 additions and 2 deletions

View File

@ -34,11 +34,11 @@ This is a **work in progress** describing typing, serialization and Merkleizatio
### Composite types ### Composite types
* **container**: ordered heterogenous collection of values * **container**: ordered heterogeneous collection of values
* key-pair curly bracket notation `{}`, e.g. `{"foo": "uint64", "bar": "bool"}` * key-pair curly bracket notation `{}`, e.g. `{"foo": "uint64", "bar": "bool"}`
* **vector**: ordered fixed-length homogeneous collection of values * **vector**: ordered fixed-length homogeneous collection of values
* angle bracket notation `[type, N]`, e.g. `["uint64", N]` * angle bracket notation `[type, N]`, e.g. `["uint64", N]`
* **list**: ordered variable-length homogenous collection of values * **list**: ordered variable-length homogeneous collection of values
* angle bracket notation `[type]`, e.g. `["uint64"]` * angle bracket notation `[type]`, e.g. `["uint64"]`
We recursively define "variable-size" types to be lists and all types that contains a variable-size type. All other types are said to be "fixed-size". We recursively define "variable-size" types to be lists and all types that contains a variable-size type. All other types are said to be "fixed-size".