aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/any.gleam (renamed from src/foreign.gleam)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/foreign.gleam b/src/any.gleam
index 5d33aa2..05a789b 100644
--- a/src/foreign.gleam
+++ b/src/any.gleam
@@ -1,15 +1,15 @@
doc """
-Foreign data is data that we don't know the type of yet.
+`Any` data is data that we don't know the type of yet.
We likely get data like this from interop with Erlang, or from
IO with the outside world.
"""
-pub external type Foreign
+pub external type Any
;
doc """
-Convert any Gleam data into Foreign data.
+Convert any Gleam data into `Any` data.
"""
-pub external fn new(a) -> Foreign = 'gleam_foreign' 'identity'
+pub external fn new(a) -> Any = 'gleam_foreign' 'identity'
doc """
Unsafely cast any type into any other type.o