roc/crates/compiler/test_syntax/tests/snapshots/pass/pizza_question.moduledefs.migrated.roc

7 lines
148 B
Text

main =
parseArgs?({},)
|> List.dropFirst(1,)
|> List.mapTry?(Str.toU8,)
|> List.sum
|> |total| "Sum of numbers: ${Num.to_str total}"
|> Str.toUpper