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 /src | |
parent | 96c20b8ebf8420fbba75c97fa08eaeb34e8dc394 (diff) | |
download | gleam_stdlib-2c2541750ca4b7b604070c75c18d84be833c97d5.tar.gz gleam_stdlib-2c2541750ca4b7b604070c75c18d84be833c97d5.zip |
stdlib namespace std -> gleam
Diffstat (limited to 'src')
-rw-r--r-- | src/gleam/any.gleam (renamed from src/std/any.gleam) | 6 | ||||
-rw-r--r-- | src/gleam/atom.gleam (renamed from src/std/atom.gleam) | 0 | ||||
-rw-r--r-- | src/gleam/bool.gleam (renamed from src/std/bool.gleam) | 2 | ||||
-rw-r--r-- | src/gleam/expect.gleam (renamed from src/std/expect.gleam) | 0 | ||||
-rw-r--r-- | src/gleam/float.gleam (renamed from src/std/float.gleam) | 2 | ||||
-rw-r--r-- | src/gleam/http.gleam (renamed from src/std/http.gleam) | 0 | ||||
-rw-r--r-- | src/gleam/int.gleam (renamed from src/std/int.gleam) | 2 | ||||
-rw-r--r-- | src/gleam/iodata.gleam (renamed from src/std/iodata.gleam) | 0 | ||||
-rw-r--r-- | src/gleam/list.gleam (renamed from src/std/list.gleam) | 4 | ||||
-rw-r--r-- | src/gleam/map_dict.gleam (renamed from src/std/map_dict.gleam) | 6 | ||||
-rw-r--r-- | src/gleam/order.gleam (renamed from src/std/order.gleam) | 0 | ||||
-rw-r--r-- | src/gleam/result.gleam (renamed from src/std/result.gleam) | 0 | ||||
-rw-r--r-- | src/gleam/string.gleam (renamed from src/std/string.gleam) | 4 | ||||
-rw-r--r-- | src/gleam/tuple.gleam (renamed from src/std/tuple.gleam) | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/src/std/any.gleam b/src/gleam/any.gleam index ac902cd..44e2dd8 100644 --- a/src/std/any.gleam +++ b/src/gleam/any.gleam @@ -1,6 +1,6 @@ -import std/list as list_mod -import std/atom -import std/result +import gleam/list as list_mod +import gleam/atom +import gleam/result // `Any` data is data that we don"t know the type of yet. // We likely get data like this from interop with Erlang, or from diff --git a/src/std/atom.gleam b/src/gleam/atom.gleam index 67d040d..67d040d 100644 --- a/src/std/atom.gleam +++ b/src/gleam/atom.gleam diff --git a/src/std/bool.gleam b/src/gleam/bool.gleam index 985f0d6..e99333b 100644 --- a/src/std/bool.gleam +++ b/src/gleam/bool.gleam @@ -1,4 +1,4 @@ -import std/order +import gleam/order pub fn negate(bool) { case bool { diff --git a/src/std/expect.gleam b/src/gleam/expect.gleam index 5ea6a93..5ea6a93 100644 --- a/src/std/expect.gleam +++ b/src/gleam/expect.gleam diff --git a/src/std/float.gleam b/src/gleam/float.gleam index 8e1904e..b1ae86e 100644 --- a/src/std/float.gleam +++ b/src/gleam/float.gleam @@ -1,4 +1,4 @@ -import std/iodata +import gleam/iodata pub enum NotAFloat = | NotAFloat diff --git a/src/std/http.gleam b/src/gleam/http.gleam index d9942a8..d9942a8 100644 --- a/src/std/http.gleam +++ b/src/gleam/http.gleam diff --git a/src/std/int.gleam b/src/gleam/int.gleam index b1f8256..c4fbf6f 100644 --- a/src/std/int.gleam +++ b/src/gleam/int.gleam @@ -1,4 +1,4 @@ -import std/order +import gleam/order pub enum NotAnInt = | NotAnInt diff --git a/src/std/iodata.gleam b/src/gleam/iodata.gleam index 56efc65..56efc65 100644 --- a/src/std/iodata.gleam +++ b/src/gleam/iodata.gleam diff --git a/src/std/list.gleam b/src/gleam/list.gleam index 68dcb4a..96ed75e 100644 --- a/src/std/list.gleam +++ b/src/gleam/list.gleam @@ -1,5 +1,5 @@ -import std/int -import std/order +import gleam/int +import gleam/order pub enum Empty = | Empty diff --git a/src/std/map_dict.gleam b/src/gleam/map_dict.gleam index 32065f5..bf3ed87 100644 --- a/src/std/map_dict.gleam +++ b/src/gleam/map_dict.gleam @@ -1,6 +1,6 @@ -import std/any -import std/result -import std/list +import gleam/any +import gleam/result +import gleam/list pub external type MapDict(key, value); diff --git a/src/std/order.gleam b/src/gleam/order.gleam index 4d39705..4d39705 100644 --- a/src/std/order.gleam +++ b/src/gleam/order.gleam diff --git a/src/std/result.gleam b/src/gleam/result.gleam index 133d9d5..133d9d5 100644 --- a/src/std/result.gleam +++ b/src/gleam/result.gleam diff --git a/src/std/string.gleam b/src/gleam/string.gleam index 9eacb37..cc759a6 100644 --- a/src/std/string.gleam +++ b/src/gleam/string.gleam @@ -1,5 +1,5 @@ -import std/iodata -import std/list +import gleam/iodata +import gleam/list pub external fn length(String) -> Int = "string" "length" diff --git a/src/std/tuple.gleam b/src/gleam/tuple.gleam index ab38a74..05968d0 100644 --- a/src/std/tuple.gleam +++ b/src/gleam/tuple.gleam @@ -1,4 +1,4 @@ -import std/list +import gleam/list pub fn new(a, b) { {a, b} |