Skip to main content

Module argu

Module argu 

Source
Expand description

Argu: positional arguments matched against an ordered spec, as a call signature is: argu.validate(args, "foo", spec) gives the arguments by name. A skip slot is optional and shifts the ones after it; a rest slot captures whatever remains.

Structsยง

Argu
A positional-argument validator with a namespace name.
ArguError
An argument list that does not match.
Signature
A compiled signature: the slot names and their shapes, in order.