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@int.erl | |
parent | 96c20b8ebf8420fbba75c97fa08eaeb34e8dc394 (diff) | |
download | gleam_stdlib-2c2541750ca4b7b604070c75c18d84be833c97d5.tar.gz gleam_stdlib-2c2541750ca4b7b604070c75c18d84be833c97d5.zip |
stdlib namespace std -> gleam
Diffstat (limited to 'gen/src/std@int.erl')
-rw-r--r-- | gen/src/std@int.erl | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gen/src/std@int.erl b/gen/src/std@int.erl deleted file mode 100644 index 9942040..0000000 --- a/gen/src/std@int.erl +++ /dev/null @@ -1,28 +0,0 @@ --module(std@int). --compile(no_auto_import). - --export([parse/1, to_string/1, to_base_string/2, compare/2]). - -parse(A) -> - gleam__stdlib:parse_int(A). - -to_string(A) -> - erlang:integer_to_binary(A). - -to_base_string(A, B) -> - erlang:integer_to_binary(A, B). - -compare(A, B) -> - case A =:= B of - true -> - eq; - - false -> - case A < B of - true -> - lt; - - false -> - gt - end - end. |