mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-11 03:20:21 +00:00
11 lines
343 B
Text
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({})
|
|
}
|