{"size": 1580, "ext": "scrbl", "max_stars_repo_path": "package-dependency.scrbl", "max_stars_repo_name": "jackfirth/package-analysis", "max_stars_repo_stars_event_min_datetime": "2019-10-12T09:24:46.000Z", "max_stars_repo_stars_event_max_datetime": "2020-02-23T07:59:51.000Z", "max_issues_repo_path": "package-dependency.scrbl", "max_issues_repo_name": "jackfirth/package-analysis", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "package-dependency.scrbl", "max_forks_repo_name": "jackfirth/package-analysis", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 33.6170212766, "max_line_length": 80, "alphanum_fraction": 0.6721518987}
#lang scribble/manual

@(require (for-label package-analysis
                     racket/base
                     racket/contract/base
                     rebellion/base/immutable-string
                     rebellion/base/symbol))

@title{Package Dependencies}

@defproc[(package-dependency? [v any/c]) boolean?]

@defproc[(package-dependency
          [#:source source immutable-string?]
          [#:lower-version-bound version package-version? (package-version 0 0)]
          [#:platform-requirement platform (or/c platform-requirement? #f) #f])
         package-dependency?]

@defproc[(package-dependency-source [dep package-dependency?])
         immutable-string?]

@defproc[(package-dependency-lower-version-bound [dep package-dependency?])
         package-version?]

@defproc[(package-dependency-platform-requirement [dep package-dependency?])
         (or/c platform-requirement? #f)]

@defproc[(platform-requirement? [v any/c]) boolean?]

@defproc[(system-type-requirement? [v any/c]) boolean?]

@defproc[(system-type-requirement [type interned-symbol?])
         system-type-requirement?]

@defproc[(system-type-requirement-value [requirement system-type-requirement?])
         interned-symbol?]

@defproc[(system-library-subpath-requirement? [v any/c]) boolean?]

@defproc[(system-library-subpath-requirement
          [path (or/c immutable-string? regexp?)])
         system-library-subpath-requirement?]

@defproc[(system-library-subpath-requirement-value
          [requirement system-library-subpath-requirement?])
         (or/c immutable-string? regexp?)]
