[erlang-questions] list type in syntax tools

Karlo Kuna kuna.prime@REDACTED
Wed Oct 24 21:10:02 CEST 2018


i have found workaround:

erl_syntax:type_application(erl_syntax:abstract(list), []).

which yields to:
{tree,type_application,
      {attr,0,[],none},
      {type_application,{tree,atom,{attr,0,[],none},list},[]}}

and then reverts to {type,0,list,[]}

but i'm still wandering why are list_type funtions missing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20181024/af169d28/attachment.htm>


More information about the erlang-questions mailing list