1 2 3 4 5 6 7 8 9 10 11 12
-module(maps_redef). -export([t/0]). %% OK in Erlang/OTP 17, at least. -type map() :: atom(). % redefine built-in type -spec t() -> map(). t() -> a. % OK