Add #{items := list()} type for encode/decode #32

Merged
uwiger merged 3 commits from uw-encode-maps into master 2023-08-18 21:40:50 +09:00
Showing only changes of commit 05c4f87619 - Show all commits

View File

@ -28,7 +28,7 @@
| 'binary' | 'binary'
| 'id' %% As defined in aec_id.erl | 'id' %% As defined in aec_id.erl
| [type()] %% Length one in the type. This means a list of any length. | [type()] %% Length one in the type. This means a list of any length.
| #{items := [{field_name(), type()}]} | #{items := [{field_name(), type()}]} %% Record with named fields represented as a map. Encoded as a list in the given order.
| tuple(). %% Any arity, containing type(). This means a static size array. | tuple(). %% Any arity, containing type(). This means a static size array.
-type encodable_term() :: non_neg_integer() -type encodable_term() :: non_neg_integer()