From cd68f1298591fe8a98292a8d09d3fb207305796e Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Wed, 8 May 2019 13:40:07 -0700 Subject: [PATCH] correct output contracts (fixes #19) --- beautiful-racket/br/scribblings/br.scrbl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beautiful-racket/br/scribblings/br.scrbl b/beautiful-racket/br/scribblings/br.scrbl index cb22b81..14e1668 100644 --- a/beautiful-racket/br/scribblings/br.scrbl +++ b/beautiful-racket/br/scribblings/br.scrbl @@ -555,14 +555,14 @@ Get the line index in @racket[textbox] that contains @racket[position]. @defproc[(previous-line [textbox (is-a?/c text%)] [position (or/c exact-nonnegative-integer? #f)]) -exact-nonnegative-integer?]{ +(or/c exact-nonnegative-integer? #f)]{ Get the line index in @racket[textbox] of the line before the one that contains @racket[position]. } @defproc[(next-line [textbox (is-a?/c text%)] [position (or/c exact-nonnegative-integer? #f)]) -exact-nonnegative-integer?]{ +(or/c exact-nonnegative-integer? #f)]{ Get the line index in @racket[textbox] of the line after the one that contains @racket[position]. }