Use nonnegative-integer? in favor of natural-number? #23

Merged
jessealama merged 2 commits from nonnegative-integer into master 6 years ago

@ -1041,10 +1041,10 @@ In addition to the exports shown below, the @racketmodname[brag/support] module
@defproc[(token [type (or/c string? symbol?)]
[val any/c #f]
[#:line line (or/c positive-integer? #f) #f]
[#:column column (or/c natural-number? #f) #f]
[#:position position (or/c positive-integer? #f) #f]
[#:span span (or/c natural-number? #f) #f]
[#:line line (or/c exact-positive-integer? #f) #f]
[#:column column (or/c exact-nonnegative-integer? #f) #f]
[#:position position (or/c exact-positive-integer? #f) #f]
[#:span span (or/c exact-nonnegative-integer? #f) #f]
[#:skip? skip? boolean? #f]
)
token-struct?]{
@ -1059,10 +1059,10 @@ In addition to the exports shown below, the @racketmodname[brag/support] module
@defstruct[token-struct ([type symbol?]
[val any/c]
[position (or/c positive-integer? #f)]
[line (or/c natural-number? #f)]
[column (or/c positive-integer? #f)]
[span (or/c natural-number? #f)]
[position (or/c exact-positive-integer? #f)]
[line (or/c exact-nonnegative-integer? #f)]
[column (or/c exact-positive-integer? #f)]
[span (or/c exact-nonnegative-integer? #f)]
[skip? boolean?])
#:transparent]{
The token structure type.

Loading…
Cancel
Save