[erlang-questions] list type in syntax tools
Karlo Kuna
kuna.prime@REDACTED
Wed Oct 24 21:01:19 CEST 2018
is there any reason why something like list_type/0 and list_type/1 (like
map_type) are missing from syntax tools?
On Wed, Oct 24, 2018 at 8:57 PM Karlo Kuna <kuna.prime@REDACTED> wrote:
> hello everyone,
>
> i'm trying to make list type in sytnax tools however i am running to some
> issues
> i need to make something that reverts to {type,1,list,[]}
>
> so for example how would one represent following via syntax tools?
>
> -type l() :: list().
>
> type_application and user_type_application for list with no element does
> not revert to
> {type, _, list []}
>
> thak you
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20181024/f461661b/attachment.htm>
More information about the erlang-questions
mailing list