diff options
Diffstat (limited to 'src/std/any.gleam')
-rw-r--r-- | src/std/any.gleam | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/std/any.gleam b/src/std/any.gleam index c5c4a62..ac902cd 100644 --- a/src/std/any.gleam +++ b/src/std/any.gleam @@ -1,11 +1,7 @@ -import std/list +import std/list as list_mod import std/atom import std/result -fn list_module() { - list -} - // `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. @@ -47,7 +43,7 @@ external fn list_any(Any) -> Result(List(Any), String) = pub fn list(any, decode) { any |> list_any - |> result:then(_, list_module():traverse(_, decode)) + |> result:then(_, list_mod:traverse(_, decode)) } pub external fn tuple(Any) -> Result({Any, Any}, String) |