aboutsummaryrefslogtreecommitdiff
path: root/gen/src
diff options
context:
space:
mode:
Diffstat (limited to 'gen/src')
-rw-r--r--gen/src/gleam@dynamic.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/gen/src/gleam@dynamic.erl b/gen/src/gleam@dynamic.erl
index e20db87..09a442b 100644
--- a/gen/src/gleam@dynamic.erl
+++ b/gen/src/gleam@dynamic.erl
@@ -1,7 +1,7 @@
-module(gleam@dynamic).
-compile(no_auto_import).
--export([from/1, unsafe_coerce/1, string/1, int/1, float/1, atom/1, bool/1, thunk/1, list/2, field/2]).
+-export([from/1, unsafe_coerce/1, string/1, int/1, float/1, atom/1, bool/1, thunk/1, list/2, field/2, element/2]).
from(A) ->
gleam_stdlib:identity(A).
@@ -38,3 +38,6 @@ list(Dynamic, DecoderType) ->
field(A, B) ->
gleam_stdlib:decode_field(A, B).
+
+element(A, B) ->
+ gleam_stdlib:decode_element(A, B).