Skip to content

Argument notation #5

Answered by ekzhang
webyrd asked this question in Q&A
Nov 30, 2021 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hi Will! There's no positional arguments in Percival; all arguments are named. This is to allow us to do queries on named records, as is common in datasets for machine learning, data science, etc.

In this example, path(x, y) is a shorthand syntax for path(x: x, y: y).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ekzhang
Comment options

You must be logged in to vote
1 reply
@ekzhang
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants