Out of three types with support for nested keyed schemas (keyword_list, non_empty_keyword_list and map) only keyword_list had doc_typecase for nested schema. It was incorrect. So fixed that one and added support for other two.
There was a case for doc_type({:keyword_list, value_type}) (where value_type is a type, not a schema), but such type construct does not exist (at least it is not listed in typespecs). Removed it.
Changed Keyword.t to simple keyword to match other type names.
Offtop but there were three types of writing any: any, "any" and any(). Changed others to use the first variant.
Out of three types with support for nested keyed schemas (
keyword_list
,non_empty_keyword_list
andmap
) onlykeyword_list
haddoc_type
case for nested schema. It was incorrect. So fixed that one and added support for other two.There was a case for
doc_type({:keyword_list, value_type})
(wherevalue_type
is a type, not a schema), but such type construct does not exist (at least it is not listed in typespecs). Removed it.Changed
Keyword.t
to simplekeyword
to match other type names.Offtop but there were three types of writing any:
any
,"any"
andany()
. Changed others to use the first variant.