From e76619358828638cf2cdf495e5029611a16861d9 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 27 Feb 2019 17:59:49 +0100 Subject: [PATCH] Update simple-serialize.md --- specs/simple-serialize.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/specs/simple-serialize.md b/specs/simple-serialize.md index 2c0bb8f6a..7f6866cb5 100644 --- a/specs/simple-serialize.md +++ b/specs/simple-serialize.md @@ -26,9 +26,12 @@ This is a **work in progress** describing typing, serialization and Merkleizatio ### Composite types -* **container**: ordered heterogenous collection of values (key-pair curly braket notation `{}`, e.g. `{'foo': uint64, 'bar': bool}`) -* **tuple**: ordered fixed-length homogeneous collection of values (angle braket notation `[N]`, e.g. `uint64[N]`) -* **list**: ordered variable-length homogenous collection of values (angle braket notation `[]`, e.g. `uint64[]`) +* **container**: ordered heterogenous collection of values + * key-pair curly braket notation `{}`, e.g. `{'foo': uint64, 'bar': bool}` +* **tuple**: ordered fixed-length homogeneous collection of values + * angle braket notation `[N]`, e.g. `uint64[N]` +* **list**: ordered variable-length homogenous collection of values + * angle braket notation `[]`, e.g. `uint64[]` #### Aliases @@ -40,7 +43,7 @@ For convenience we alias: ## Serialization -We reccursively define the `serialize` function which consumes an object `value` (of the type specified) and returns a byte string of type `bytes`. +We reccursively define the serialisation `serialize` function which consumes an object `value` (of the type specified) and returns a byte string of type `bytes`. #### `uintN`