diff options
author | Louis Pilfold <louis@lpil.uk> | 2019-06-25 22:48:07 +0100 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2019-06-25 22:48:07 +0100 |
commit | 2c2541750ca4b7b604070c75c18d84be833c97d5 (patch) | |
tree | f5e63d941a1c7e2c2d4dff1d81c43fa2766308ae /gen/src/std@any.erl | |
parent | 96c20b8ebf8420fbba75c97fa08eaeb34e8dc394 (diff) | |
download | gleam_stdlib-2c2541750ca4b7b604070c75c18d84be833c97d5.tar.gz gleam_stdlib-2c2541750ca4b7b604070c75c18d84be833c97d5.zip |
stdlib namespace std -> gleam
Diffstat (limited to 'gen/src/std@any.erl')
-rw-r--r-- | gen/src/std@any.erl | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/gen/src/std@any.erl b/gen/src/std@any.erl deleted file mode 100644 index 5a1a844..0000000 --- a/gen/src/std@any.erl +++ /dev/null @@ -1,41 +0,0 @@ --module(std@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]). - -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_any(A) -> - gleam__stdlib:decode_list(A). - -list(Any, Decode) -> - std@result:then(list_any(Any), - fun(Capture1) -> std@list:traverse(Capture1, Decode) end). - -tuple(A) -> - gleam__stdlib:decode_tuple(A). - -field(A, B) -> - gleam__stdlib:decode_field(A, B). |