Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
fix: reduce to single list tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeal committed Mar 20, 2020
1 parent 7732a28 commit 1fda72b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions data-structures/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@
It is flexible enough to support very small and very large (multi-block) binary data.

```sh
type Lengths [Int]
type ByteUnionList [&FlexibleByteLayout]
type NestedByte struct {
length Int
part &FlexibleByteList
} representation tuple

type NestedByteList struct {
lengths Lengths
parts ByteUnionList
}
type NestedByteList [ NestedByte ]

type FlexibleByteLayout union {
| Bytes bytes
| NestedByteList map
| NestedByteList list
} representation kinded
```

Expand Down

0 comments on commit 1fda72b

Please sign in to comment.