From e861cec692d8ffb8088f0ffd93e5ff0f9de115a5 Mon Sep 17 00:00:00 2001 From: Vincent St-Amour Date: Mon, 18 Nov 2013 14:59:46 -0500 Subject: [PATCH] Fix line breaks in the docs. original commit: 63572cc0f7b502261bb47ac0a5dbe60b406ed214 --- .../typed-racket/scribblings/guide/caveats.scrbl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/typed-racket-pkgs/typed-racket-doc/typed-racket/scribblings/guide/caveats.scrbl b/pkgs/typed-racket-pkgs/typed-racket-doc/typed-racket/scribblings/guide/caveats.scrbl index 80fa3438..8db011c0 100644 --- a/pkgs/typed-racket-pkgs/typed-racket-doc/typed-racket/scribblings/guide/caveats.scrbl +++ b/pkgs/typed-racket-pkgs/typed-racket-doc/typed-racket/scribblings/guide/caveats.scrbl @@ -70,8 +70,9 @@ The following illustrates an example type that cannot be converted to a contract: @interaction[#:eval the-eval - (require/typed racket/base [object-name (case-> (Struct-Type-Property -> Symbol) - (Regexp -> (U String Bytes)))]) + (require/typed racket/base + [object-name (case-> (Struct-Type-Property -> Symbol) + (Regexp -> (U String Bytes)))]) ] This function type by cases is a valid type, but a corresponding @@ -83,8 +84,9 @@ A more approximate type will work for this case, but with a loss of type precision at use sites: @interaction[#:eval the-eval - (require/typed racket/base [object-name ((U Struct-Type-Property Regexp) - -> (U String Bytes Symbol))]) + (require/typed racket/base + [object-name ((U Struct-Type-Property Regexp) + -> (U String Bytes Symbol))]) (object-name #rx"a regexp") ]