From 606ec2955ccabb5f215d7b045596caf29ee2143a Mon Sep 17 00:00:00 2001 From: Vincent St-Amour Date: Thu, 22 Feb 2018 12:04:41 -0600 Subject: [PATCH] Fix contract in docs. Closes #1960. --- pkgs/racket-doc/scribblings/reference/contracts.scrbl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/racket-doc/scribblings/reference/contracts.scrbl b/pkgs/racket-doc/scribblings/reference/contracts.scrbl index fcc8c07479..efdf987646 100644 --- a/pkgs/racket-doc/scribblings/reference/contracts.scrbl +++ b/pkgs/racket-doc/scribblings/reference/contracts.scrbl @@ -259,7 +259,7 @@ returns a @racket[list-contract?]. (first-or/c (-> number? number?) (-> string? string? string?))] accepts the function @racket[(λ args 0)], - applying the @racket[(->number? number?)] contract to the function + applying the @racket[(-> number? number?)] contract to the function because it comes first, even though @racket[(-> string? string? string?)] also applies.