diff options
author | Louis Pilfold <louis@lpil.uk> | 2023-11-21 14:39:00 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2023-11-21 15:11:37 +0000 |
commit | 6139295179325810d53613879613b4181188d56a (patch) | |
tree | 819b7bd4e26a50d5e45dc5d6e638078d8d56c4cf /src/gleam_stdlib.erl | |
parent | aec149b434c1ca537c2fe9d307113c226413e035 (diff) | |
download | gleam_stdlib-6139295179325810d53613879613b4181188d56a.tar.gz gleam_stdlib-6139295179325810d53613879613b4181188d56a.zip |
map -> dict
Diffstat (limited to 'src/gleam_stdlib.erl')
-rw-r--r-- | src/gleam_stdlib.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam_stdlib.erl b/src/gleam_stdlib.erl index 7414439..c6ea125 100644 --- a/src/gleam_stdlib.erl +++ b/src/gleam_stdlib.erl @@ -378,7 +378,7 @@ inspect(Data) when is_map(Data) -> [<<"#(">>, inspect(Key), <<", ">>, inspect(Value), <<")">>] || {Key, Value} <- maps:to_list(Data) ], - ["map.from_list([", lists:join(", ", Fields), "])"]; + ["dict.from_list([", lists:join(", ", Fields), "])"]; inspect(Atom) when is_atom(Atom) -> Binary = erlang:atom_to_binary(Atom), case inspect_maybe_gleam_atom(Binary, none, <<>>) of |