From 817d9006dd4aaa1793fee68089ef53f9e188af3f Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Wed, 1 Aug 2018 19:21:48 +0100 Subject: Infer simple constant types --- src/Foreign.gleam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3