Skip to content

Commit

Permalink
doc: clarify that (Sequenceof) is valid
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahStoryM authored and samth committed Nov 2, 2024
1 parent 7d3e94d commit 81cd9a8
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -513,10 +513,11 @@ type returned. @ex[current-input-port current-directory]}

@deftypeconstr[(Futureof t)]{Returns the type of @rtech{future} which produce a value of type @racket[t] when touched.}

@deftypeconstr[(Sequenceof t t ...)]{Returns the type of @rtech{sequence} that produces
@racket[(Values _t _t ...)] on each iteration. E.g., @racket[(Sequenceof String)]
is a sequence of strings, @racket[(Sequenceof Number String)] is a sequence which
produces two values---a number and a string---on each iteration, etc.}
@deftypeconstr[(Sequenceof t ...)]{Returns the type of @rtech{sequence} that produces
@racket[(Values _t ...)] on each iteration. E.g., @racket[(Sequenceof)]
is a sequence which produces no values, @racket[(Sequenceof String)] is a
sequence of strings, @racket[(Sequenceof Number String)] is a sequence which
produces two values---a number and a string---on each iteration, etc.}

@deftype[SequenceTop]{Is the type of a @rtech{sequence} with unknown element
type and is the supertype of all sequences. This type typically
Expand Down

0 comments on commit 81cd9a8

Please sign in to comment.