aboutsummaryrefslogtreecommitdiff
path: root/src/std/atom.gleam
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2019-06-25 22:48:07 +0100
committerLouis Pilfold <louis@lpil.uk>2019-06-25 22:48:07 +0100
commit2c2541750ca4b7b604070c75c18d84be833c97d5 (patch)
treef5e63d941a1c7e2c2d4dff1d81c43fa2766308ae /src/std/atom.gleam
parent96c20b8ebf8420fbba75c97fa08eaeb34e8dc394 (diff)
downloadgleam_stdlib-2c2541750ca4b7b604070c75c18d84be833c97d5.tar.gz
gleam_stdlib-2c2541750ca4b7b604070c75c18d84be833c97d5.zip
stdlib namespace std -> gleam
Diffstat (limited to 'src/std/atom.gleam')
-rw-r--r--src/std/atom.gleam17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/std/atom.gleam b/src/std/atom.gleam
deleted file mode 100644
index 67d040d..0000000
--- a/src/std/atom.gleam
+++ /dev/null
@@ -1,17 +0,0 @@
-pub external type Atom;
-
-pub enum AtomNotLoaded =
- | AtomNotLoaded
-
-pub external fn from_string(String) -> Result(Atom, AtomNotLoaded) =
- "gleam__stdlib" "atom_from_string";
-
-// This function can create a new atom if one does not already exist for
-// the given string. Atoms are not garbage collected so this can result
-// in a memory leak if called over time on new values
-//
-pub external fn create_from_string(String) -> Atom =
- "gleam__stdlib" "atom_create_from_string";
-
-pub external fn to_string(Atom) -> String =
- "gleam__stdlib" "atom_to_string";