Change tuple typing syntax #600

Merged
zxq9 merged 3 commits from github/fork/radrow/tuple-type into master 2019-08-05 16:13:31 +09:00
Showing only changes of commit c97eb99921 - Show all commits

View File

@ -266,7 +266,7 @@ decode_type(#{tuple := Ets}) ->
Ts = decode_types(Ets),
case Ts of
[] -> ["unit"];
_ -> ["(", $(,lists:join(" * ", Ts),$), ")"]
_ -> [$(,lists:join(" * ", Ts),$)]
end;
decode_type(#{record := Efs}) ->
Fs = decode_fields(Efs),