Skip to content

Commit 2b2eeb9

Browse files
committed
Documented the concept of optional arguments for function evaluation.
1 parent fce0722 commit 2b2eeb9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

GRAMMAR.ABNF

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -587,11 +587,11 @@ expression-type = "&" expression
587587
;; occurred. How and when this error is raised is implementation specific, but implementations should indicate to the caller
588588
;; that this specific error occurred.
589589
;;
590-
;; Functions can either have a specific arity or be variadic with a minimum number of arguments. If a `function-expression`
591-
;; is encountered where the arity does not match or the minimum number of arguments for a variadic function is not provided,
592-
;; then implementations must indicate to the caller than an `invalid-arity` error occurred. How and when this error is raised
593-
;; is implementation specific.
594-
;;
590+
;; Functions can have a specific arity, a range of valid – minimum and maximum – number of arguments or be variadic with a
591+
;; minimum number of arguments. If a function-expression is encountered where the arity does not match or the minimum number
592+
;; of arguments for a variadic function is not provided, then implementations must indicate to the caller that an `invalid-arity`
593+
;; error occurred. How and when this error is raised is implementation specific.
594+
595595
;; Each function signature declares the types of its input parameters. If any type constraints are not met, implementations
596596
;; must indicate that an `invalid-type` error occurred.
597597
;;

0 commit comments

Comments
 (0)