roc/examples/ruby-interop/main.roc
Richard Feldman 9cf102fcdd
roc format
2022-11-04 15:44:18 -04:00

13 lines
284 B
Text

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!!! 🤘🤘"