diff options
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. |