Split package to avoid dependency on aful for just the lib itself
This commit is contained in:
parent
d87b895cb1
commit
aa72ace7f5
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -3,4 +3,4 @@
|
|||
.\#*
|
||||
.DS_Store
|
||||
compiled/
|
||||
/doc/
|
||||
/*/doc/
|
||||
|
|
|
@ -42,7 +42,7 @@ before_install:
|
|||
- export PATH="${RACKET_DIR}/bin:${PATH}" #install-racket.sh can't set for us
|
||||
|
||||
install:
|
||||
- raco pkg install -j 1 --deps search-auto
|
||||
- raco pkg install -j 1 --deps search-auto ./typed-map ./typed-map-lib ./typed-map-test
|
||||
|
||||
before_script:
|
||||
|
||||
|
@ -50,8 +50,8 @@ before_script:
|
|||
# `raco pkg install --deps search-auto` to install any required
|
||||
# packages without it getting stuck on a confirmation prompt.
|
||||
script:
|
||||
- raco test -p typed-map
|
||||
- raco setup --check-pkg-deps --pkgs typed-map
|
||||
- raco test -p typed-map typed-map-lib typed-map-test
|
||||
- raco setup --check-pkg-deps --pkgs typed-map typed-map-lib typed-map-test
|
||||
- raco pkg install --deps search-auto doc-coverage
|
||||
- raco doc-coverage typed-map
|
||||
|
||||
|
|
|
@ -1,16 +1,13 @@
|
|||
#lang info
|
||||
(define collection "typed-map")
|
||||
(define deps '("base"
|
||||
"rackunit-lib"
|
||||
"typed-racket-lib"
|
||||
"typed-racket-more"))
|
||||
(define deps '("base"))
|
||||
(define build-deps '("scribble-lib"
|
||||
"racket-doc"
|
||||
"aful"
|
||||
"typed-racket-doc"))
|
||||
(define scribblings '(("scribblings/typed-map.scrbl" ())))
|
||||
(define pkg-desc
|
||||
(string-append "Type inference helper for map with Typed/Racket."
|
||||
(string-append "Documentation for typed-map-lib, a"
|
||||
" type inference helper for map with Typed/Racket."
|
||||
" Supports afl, un-annotated lambdas and polymorphic"
|
||||
" functions."))
|
||||
(define version "1.0")
|
|
@ -30,7 +30,7 @@
|
|||
(let ([l '(4 5 6)])
|
||||
(map (λ (x) (* x 2)) l))]
|
||||
|
||||
This enables the use of @racket[#,(hash-lang) #,(racketmodname afl)] for
|
||||
This enables the use of @racket[#,(hash-lang) #,(racketmodname aful)] for
|
||||
@racket[map] in Typed Racket.
|
||||
|
||||
Furthermore, when @racket[f] is a polymorphic function, type annotations are
|
11
typed-map-lib/info.rkt
Normal file
11
typed-map-lib/info.rkt
Normal file
|
@ -0,0 +1,11 @@
|
|||
#lang info
|
||||
(define collection "typed-map")
|
||||
(define deps '("base"
|
||||
"typed-racket-lib"))
|
||||
(define build-deps '())
|
||||
(define pkg-desc
|
||||
(string-append "Type inference helper for map with Typed/Racket."
|
||||
" Supports afl, un-annotated lambdas and polymorphic"
|
||||
" functions."))
|
||||
(define version "1.0")
|
||||
(define pkg-authors '("Georges Dupéron"))
|
12
typed-map-test/info.rkt
Normal file
12
typed-map-test/info.rkt
Normal file
|
@ -0,0 +1,12 @@
|
|||
#lang info
|
||||
(define collection "typed-map")
|
||||
(define deps '("base"
|
||||
"rackunit-lib"
|
||||
"typed-racket-lib"
|
||||
"typed-racket-more"
|
||||
"typed-map-lib"))
|
||||
(define build-deps '("aful"))
|
||||
(define scribblings '(("scribblings/typed-map.scrbl" ())))
|
||||
(define pkg-desc "Tests for typed-map-lib")
|
||||
(define version "1.0")
|
||||
(define pkg-authors '("Georges Dupéron"))
|
13
typed-map/info.rkt
Normal file
13
typed-map/info.rkt
Normal file
|
@ -0,0 +1,13 @@
|
|||
#lang info
|
||||
(define collection 'multi)
|
||||
(define deps '("typed-map-lib"
|
||||
"typed-map-test"))
|
||||
(define implies '("typed-map-lib"
|
||||
"typed-map-test"))
|
||||
(define build-deps '())
|
||||
(define pkg-desc
|
||||
(string-append "Type inference helper for map with Typed/Racket."
|
||||
" Supports afl, un-annotated lambdas and polymorphic"
|
||||
" functions."))
|
||||
(define version "1.0")
|
||||
(define pkg-authors '("Georges Dupéron"))
|
Loading…
Reference in New Issue
Block a user