roc/examples/python-interop/main.roc
2023-02-16 10:19:11 +02:00

14 lines
284 B
Plaintext

app "libhello"
packages { pf: "platform/main.roc" }
imports []
provides [main] to pf
main : U64 -> Str
main = \num ->
if num == 0 then
"I need a positive number here!"
else
str = Num.toStr num
"The number was \(str), OH YEAH!!! 🤘🤘"