aboutsummaryrefslogtreecommitdiff
path: root/src/gleam_stdlib.erl
diff options
context:
space:
mode:
authorinoas <mail@inoas.com>2022-08-11 10:26:05 +0200
committerLouis Pilfold <louis@lpil.uk>2022-08-11 09:56:08 +0100
commit293340bcd1559ca5a35d713429afeda94651116b (patch)
treef63a21cf0351e4db4e682334dac3a389c3f410b8 /src/gleam_stdlib.erl
parent85ba2f345d4fcd964dd0c3aa7565cd03c16d7169 (diff)
downloadgleam_stdlib-293340bcd1559ca5a35d713429afeda94651116b.tar.gz
gleam_stdlib-293340bcd1559ca5a35d713429afeda94651116b.zip
inspect output syntax
Diffstat (limited to 'src/gleam_stdlib.erl')
-rw-r--r--src/gleam_stdlib.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam_stdlib.erl b/src/gleam_stdlib.erl
index e71c1e5..dc3727c 100644
--- a/src/gleam_stdlib.erl
+++ b/src/gleam_stdlib.erl
@@ -351,7 +351,7 @@ inspect(Binary) when is_binary(Binary) ->
inspect(List) when is_list(List) ->
case inspect_list(List) of
{proper, Elements} -> ["[", Elements, "]"];
- {improper, Elements} -> ["//erl[", Elements, "]"]
+ {improper, Elements} -> ["//erl([", Elements, "])"]
end;
inspect(Any) when is_tuple(Any) % Record constructors
andalso is_atom(element(1, Any))