roc/test/fx-open/app.roc
2025-12-01 21:36:27 -05:00

11 lines
343 B
Text

app [main!] { pf: platform "./platform/main.roc" }
import pf.Stdout
# Note: This platform uses an open union error type [Exit(I32), ..others]
# which means you can add your own error types in addition to Exit
main! : List(Str) => Try({}, [Exit(I32), ..others])
main! = |_args| {
Stdout.line!("Hello from fx-open platform!")
Ok({})
}