aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2019-02-06 21:22:03 +0000
committerLouis Pilfold <louis@lpil.uk>2019-02-06 21:22:03 +0000
commit9e337e852adc3c34d600b32b6f491bcf9c1d8f3e (patch)
tree972c7ff4303fb7cb656278775af5fd7673728aa1
parentfeadf9b0bf553f5195cc82e3303c187a2f0a5c30 (diff)
downloadgleam_stdlib-9e337e852adc3c34d600b32b6f491bcf9c1d8f3e.tar.gz
gleam_stdlib-9e337e852adc3c34d600b32b6f491bcf9c1d8f3e.zip
Remove invalid function names
-rw-r--r--src/iodata.gleam3
-rw-r--r--src/list.gleam9
2 files changed, 0 insertions, 12 deletions
diff --git a/src/iodata.gleam b/src/iodata.gleam
index f42f86e..1d65e11 100644
--- a/src/iodata.gleam
+++ b/src/iodata.gleam
@@ -10,9 +10,6 @@ pub external fn prepend(Iodata, String) -> Iodata =
pub external fn append(Iodata, String) -> Iodata =
"gleam__stdlib" "iodata_append";
-pub external fn of(String) -> Iodata =
- "gleam__stdlib" "identity";
-
pub external fn from(List(String)) -> Iodata =
"gleam__stdlib" "identity";
diff --git a/src/list.gleam b/src/list.gleam
index 7d3d023..5f447de 100644
--- a/src/list.gleam
+++ b/src/list.gleam
@@ -214,15 +214,6 @@ test take {
|> expect:equal(_, [1, 2, 3, 4, 5])
}
-pub fn of(x) {
- [x]
-}
-
-test of() {
- of([]) |> expect:equal(_, [[]])
- of(1) |> expect:equal(_, [1])
-}
-
pub fn new() {
[]
}