From 9f2db6a91564aac70070080392213f4955493fd8 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Fri, 17 Mar 2017 07:27:23 -0600 Subject: [PATCH] add `history` annotations for `racket/port` changes Goes with 1309cf1649. --- .../scribblings/reference/port-lib.scrbl | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pkgs/racket-doc/scribblings/reference/port-lib.scrbl b/pkgs/racket-doc/scribblings/reference/port-lib.scrbl index bc4412a544..821b58d926 100644 --- a/pkgs/racket-doc/scribblings/reference/port-lib.scrbl +++ b/pkgs/racket-doc/scribblings/reference/port-lib.scrbl @@ -34,7 +34,9 @@ The input port is closed unless @racket[close?] is @racket[#f]. @examples[#:eval port-eval (port->string (open-input-string "hello world")) -]} + ] + +@history[#:changed "6.8.0.2" @elem{Added the @racket[#:close?] argument.}]} @defproc[(port->bytes [in input-port? (current-input-port)] [#:close? close? any/c #f]) @@ -45,7 +47,9 @@ The input port is closed unless @racket[close?] is @racket[#f]. @examples[#:eval port-eval (port->bytes (open-input-string "hello world")) -]} +] + +@history[#:changed "6.8.0.2" @elem{Added the @racket[#:close?] argument.}]} @defproc[(port->lines [in input-port? (current-input-port)] [#:line-mode line-mode (or/c 'linefeed 'return 'return-linefeed 'any 'any-one) 'any] @@ -61,7 +65,9 @@ The input port is closed unless @racket[close?] is @racket[#f]. @examples[#:eval port-eval (port->lines (open-input-string "line 1\nline 2\n line 3\nline 4")) -]} +] + +@history[#:changed "6.8.0.2" @elem{Added the @racket[#:close?] argument.}]} @defproc[(port->bytes-lines [in input-port? (current-input-port)] [#:line-mode line-mode (or/c 'linefeed 'return 'return-linefeed 'any 'any-one) 'any] @@ -75,7 +81,9 @@ The input port is closed unless @racket[close?] is @racket[#f]. @examples[#:eval port-eval (port->bytes-lines (open-input-string "line 1\nline 2\n line 3\nline 4")) -]} +] + +@history[#:changed "6.8.0.2" @elem{Added the @racket[#:close?] argument.}]} @defproc[(display-lines [lst list?] [out output-port? (current-output-port)]