diff options
author | Peter Saxton <peterhsaxton@gmail.com> | 2020-05-19 17:23:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 17:23:11 +0100 |
commit | a805e1fcdc2393aa789ef2dfb15a00669e3e079b (patch) | |
tree | cbad9cee5c94fcbbbf797869ed05d80107349c68 /gen/src/gleam@dynamic.erl | |
parent | 88ab320ab452d3151f4f4b391dafd57af07e863c (diff) | |
download | gleam_stdlib-a805e1fcdc2393aa789ef2dfb15a00669e3e079b.tar.gz gleam_stdlib-a805e1fcdc2393aa789ef2dfb15a00669e3e079b.zip |
Add gen to ignored files in git (#47)
Diffstat (limited to 'gen/src/gleam@dynamic.erl')
-rw-r--r-- | gen/src/gleam@dynamic.erl | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/gen/src/gleam@dynamic.erl b/gen/src/gleam@dynamic.erl deleted file mode 100644 index d467820..0000000 --- a/gen/src/gleam@dynamic.erl +++ /dev/null @@ -1,45 +0,0 @@ --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, element/2]). - -from(A) -> - gleam_stdlib:identity(A). - -unsafe_coerce(A) -> - gleam_stdlib:identity(A). - -string(A) -> - gleam_stdlib:decode_string(A). - -int(A) -> - gleam_stdlib:decode_int(A). - -float(A) -> - gleam_stdlib:decode_float(A). - -atom(A) -> - gleam_stdlib:decode_atom(A). - -bool(A) -> - gleam_stdlib:decode_bool(A). - -thunk(A) -> - gleam_stdlib:decode_thunk(A). - -list_dynamic(A) -> - gleam_stdlib:decode_list(A). - -list(Dynamic, DecoderType) -> - gleam@result:then( - list_dynamic(Dynamic), - fun(GleamCaptureVariable) -> - gleam@list:traverse(GleamCaptureVariable, DecoderType) - end - ). - -field(A, B) -> - gleam_stdlib:decode_field(A, B). - -element(A, B) -> - gleam_stdlib:decode_element(A, B). |