mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
17 lines
297 B
Text
17 lines
297 B
Text
app [main] {
|
|
pf: platform "../test-platform-simple-zig/main.roc",
|
|
}
|
|
|
|
import Api { app_id: "one", protocol: https }
|
|
|
|
https = \url -> "https://$(url)"
|
|
|
|
main =
|
|
"""
|
|
# too many args
|
|
$(Api.get_user(1, 2))
|
|
$(Api.base_url(1))
|
|
|
|
# too few args
|
|
$(Api.get_post_comment(1))
|
|
"""
|