From d4e37ffaea88290b3b5d86e0713989bf0f66371b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Sun, 29 Jan 2017 20:09:46 +0100 Subject: [PATCH] Fixed typos in the docs, run doc-coverage on Travis --- .travis.yml | 9 ++++----- scribblings/scope-operations.scrbl | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6f2f367..a551d10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,10 +49,9 @@ script: script: - raco test -p scope-operations - raco setup --check-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs scope-operations - #- raco pkg install --deps search-auto doc-coverage - #- if $RACKET_VERSION != "6.5" -a $RACKET_VERSION != "6.6"; then raco doc-coverage scope-operations; fi - #- raco doc-coverage scope-operations + - raco pkg install --deps search-auto doc-coverage + - raco doc-coverage scope-operations + - raco pkg install --deps search-auto cover cover-codecov + - raco cover -b -f codecov -d $TRAVIS_BUILD_DIR/coverage . after_success: - - raco pkg install --deps search-auto cover cover-coveralls - - raco cover -b -f coveralls -d $TRAVIS_BUILD_DIR/coverage . diff --git a/scribblings/scope-operations.scrbl b/scribblings/scope-operations.scrbl index c95fda2..179c359 100644 --- a/scribblings/scope-operations.scrbl +++ b/scribblings/scope-operations.scrbl @@ -71,11 +71,11 @@ scopes/c]{Set intersection of the given sets of scopes.} -@defproc[(single-scopes? [sc (or/c syntax? scopes/c)]) boolean?]{ +@defproc[(single-scope? [sc (or/c syntax? scopes/c)]) boolean?]{ Predicate which returns @racket[#true] iff the given set of scopes contains only a single scope.} -@defproc[(zero-scope? [sc (or/c syntax? scopes/c)]) boolean?]{ +@defproc[(zero-scopes? [sc (or/c syntax? scopes/c)]) boolean?]{ Predicate which returns @racket[#true] iff the given set of scopes contains no scopes (e.g. because sc has been created with @racket[(datum->syntax #f 'id)]).}