aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gleam/dynamic.gleam10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gleam/dynamic.gleam b/src/gleam/dynamic.gleam
index bf6afd1..98cbef0 100644
--- a/src/gleam/dynamic.gleam
+++ b/src/gleam/dynamic.gleam
@@ -1,3 +1,8 @@
+/// `Dynamic` 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 Dynamic
+
if erlang {
import gleam/bit_string
import gleam/list
@@ -6,11 +11,6 @@ if erlang {
import gleam/result
import gleam/string_builder
- /// `Dynamic` 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 Dynamic
-
/// Error returned when unexpected data is encountered
pub type DecodeError {
DecodeError(expected: String, found: String)