aboutsummaryrefslogtreecommitdiff
path: root/src/List.gleam
diff options
context:
space:
mode:
Diffstat (limited to 'src/List.gleam')
-rw-r--r--src/List.gleam4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/List.gleam b/src/List.gleam
index 2388591..833301b 100644
--- a/src/List.gleam
+++ b/src/List.gleam
@@ -7,7 +7,7 @@ pub type Err =
// Using the Erlang C BIF implementation.
//
-external length : fn(List(a)) { Int } = :erlang :length
+external fn length(List(a)) { Int } = 'erlang' 'length'
test length {
length([]) |> Assert.equal(_, 0)
@@ -18,7 +18,7 @@ test length {
// Using the Erlang C BIF implementation.
//
-pub external fn reverse(List(a)) { List(a) } = :erlang :reverse
+pub external fn reverse(List(a)) { List(a) } = 'erlang' 'reverse'
test reverse {
length([]) |> Assert.equal(_, [])