Skip to content

Commit 3e33545

Browse files
committed
doc: clarify that (Sequenceof) is valid
1 parent 7d3e94d commit 3e33545

File tree

1 file changed

+5
-4
lines changed
  • typed-racket-doc/typed-racket/scribblings/reference

1 file changed

+5
-4
lines changed

typed-racket-doc/typed-racket/scribblings/reference/types.scrbl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -513,10 +513,11 @@ type returned. @ex[current-input-port current-directory]}
513513

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

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

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

0 commit comments

Comments
 (0)