aboutsummaryrefslogtreecommitdiff
path: root/gen/src/gleam@any.erl
diff options
context:
space:
mode:
Diffstat (limited to 'gen/src/gleam@any.erl')
-rw-r--r--gen/src/gleam@any.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/gen/src/gleam@any.erl b/gen/src/gleam@any.erl
index c04aae4..5bd9157 100644
--- a/gen/src/gleam@any.erl
+++ b/gen/src/gleam@any.erl
@@ -1,7 +1,7 @@
-module(gleam@any).
-compile(no_auto_import).
--export([from/1, unsafe_coerce/1, string/1, int/1, float/1, atom/1, bool/1, thunk/1, list/2, tuple/1, field/2]).
+-export([from/1, unsafe_coerce/1, string/1, int/1, float/1, atom/1, bool/1, thunk/1, list/2, struct2/1, field/2]).
from(A) ->
gleam__stdlib:identity(A).
@@ -36,8 +36,8 @@ list(Any, Decode) ->
fun(Capture1) -> gleam@list:traverse(Capture1, Decode) end
).
-tuple(A) ->
- gleam__stdlib:decode_tuple(A).
+struct2(A) ->
+ gleam__stdlib:decode_struct2(A).
field(A, B) ->
gleam__stdlib:decode_field(A, B).