-module(main). -compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]). -export([main/0]). -spec main() -> {ok, nil} | {error, nil}. main() -> gleam@result:'try'( begin _pipe = simplifile:read(<<"./src/schemas/article.gleam"/utf8>>), gleam@result:replace_error(_pipe, nil) end, fun(File) -> gleam@result:'try'( begin _pipe@1 = glance:module(File), gleam@result:replace_error(_pipe@1, nil) end, fun(File@1) -> gleam@result:'try'( begin _pipe@2 = erlang:element(3, File@1), gleam@list:first(_pipe@2) end, fun(Schema) -> gleam@io:debug( erlang:element(6, erlang:element(3, Schema)) ), {ok, nil} end ) end ) end ).