aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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() {
[]
}