aboutsummaryrefslogtreecommitdiff
path: root/src/any.gleam
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2019-03-12 18:30:12 +0000
committerLouis Pilfold <louis@lpil.uk>2019-03-12 18:32:51 +0000
commit80a8083b143eaa24218ec5fda16f947658fb823d (patch)
tree32b64f2327e30270e0f2126ee0f80363956d4527 /src/any.gleam
parent2a7d9061e4ec9c763053b078db2d98400bd08dd5 (diff)
downloadgleam_stdlib-80a8083b143eaa24218ec5fda16f947658fb823d.tar.gz
gleam_stdlib-80a8083b143eaa24218ec5fda16f947658fb823d.zip
Compile map module
Diffstat (limited to 'src/any.gleam')
-rw-r--r--src/any.gleam11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/any.gleam b/src/any.gleam
index bb34ac4..884a436 100644
--- a/src/any.gleam
+++ b/src/any.gleam
@@ -1,19 +1,16 @@
-// doc """
// `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 Any;
-// doc """
// Convert any Gleam data into `Any` data.
-// """
+//
pub external fn from(a) -> Any = "gleam__stdlib" "identity";
-// doc """
// 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.
-// """
+//
pub external fn unsafeCoerce(a) -> b = "gleam__stdlib" "identity";