aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Foreign.gleam4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Foreign.gleam b/src/Foreign.gleam
index 4a74c04..ccd71f4 100644
--- a/src/Foreign.gleam
+++ b/src/Foreign.gleam
@@ -12,7 +12,7 @@ external type Foreign
doc """
Convert any Gleam data into Foreign data.
"""
-external new : |a| -> Foreign = :gleam_native.identity
+external new : |a| -> Foreign = :gleam.identity
doc """
Unsafely cast any type into any other type.o
@@ -20,4 +20,4 @@ Unsafely cast any type into any other type.o
This is an escape hatch for the type system that may be useful when wrapping
native Erlang APIs. It is to be used as a last measure only.
"""
-external unsafeCoerce : |a| -> b = :gleam_native.identity
+external unsafeCoerce : |a| -> b = :gleam.identity