From f1e43a6d0f4b127a3af806783814c7eb4b60a790 Mon Sep 17 00:00:00 2001 From: Alex Miller Date: Wed, 22 Nov 2017 13:50:31 -0600 Subject: [PATCH 1/3] clean gh-pages --- CHANGES.md | 16 -- CONTRIBUTING.md | 14 - README.md | 52 ---- VERSION_TEMPLATE | 1 - epl-v10.html | 261 ------------------ pom.xml | 90 ------ script/build/branch_revision | 16 -- script/build/git_revision | 13 - script/build/revision | 19 -- script/build/trunk_revision | 14 - script/build/update_version | 5 - src/main/clojure/clojure/core/specs/alpha.clj | 238 ---------------- 12 files changed, 739 deletions(-) delete mode 100644 CHANGES.md delete mode 100644 CONTRIBUTING.md delete mode 100644 README.md delete mode 100755 VERSION_TEMPLATE delete mode 100644 epl-v10.html delete mode 100644 pom.xml delete mode 100755 script/build/branch_revision delete mode 100755 script/build/git_revision delete mode 100755 script/build/revision delete mode 100755 script/build/trunk_revision delete mode 100755 script/build/update_version delete mode 100644 src/main/clojure/clojure/core/specs/alpha.clj diff --git a/CHANGES.md b/CHANGES.md deleted file mode 100644 index 714e161..0000000 --- a/CHANGES.md +++ /dev/null @@ -1,16 +0,0 @@ -# Change Log for core.specs.alpha - -## Version 0.1.24 on Aug 10, 2017 - -* CLJ-2220 - `use` prefix lists were incorrectly spec'ed -* Moved clojure and spec.alpha deps to "provided" scope - -## Version 0.1.17 on Aug 9, 2017 - -* CLJ-2219 - `require` prefix lists were incorrectly spec'ed - -## Version 0.1.10 on Apr 26, 2017 - -* Moved core specs from Clojure -* Renamed core spec namespace to append ".alpha" - diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 8cadea7..0000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,14 +0,0 @@ -This is a [Clojure contrib] project. - -Under the Clojure contrib [guidelines], this project cannot accept -pull requests. All patches must be submitted via [JIRA]. - -See [Contributing] and the [FAQ] on the Clojure development [wiki] for -more information on how to contribute. - -[Clojure contrib]: http://dev.clojure.org/display/doc/Clojure+Contrib -[Contributing]: http://dev.clojure.org/display/community/Contributing -[FAQ]: http://dev.clojure.org/display/community/Contributing+FAQ -[JIRA]: http://dev.clojure.org/jira/browse/CCACHE -[guidelines]: http://dev.clojure.org/display/community/Guidelines+for+Clojure+Contrib+committers -[wiki]: http://dev.clojure.org/ diff --git a/README.md b/README.md deleted file mode 100644 index 032fc18..0000000 --- a/README.md +++ /dev/null @@ -1,52 +0,0 @@ -core.specs.alpha -======================================== - -core.specs.alpha is a Clojure library containining specs to describe Clojure core macros and functions. - -Clojure 1.9 (still in alpha releases) depends on this library and provides it to users of Clojure. Thus, the recommended way to use this library is to add a dependency on the latest version of Clojure 1.9, rather than including it directly. In some cases, this library may release more frequently than Clojure. In those cases, you can explictly include the latest version of this library with the dependency info below. - -For more information: - -* Spec rationale - https://clojure.org/about/spec -* Spec guide - https://clojure.org/guides/spec -* Spec split notice - https://groups.google.com/forum/#!msg/clojure/10dbF7w2IQo/ec37TzP5AQAJ - -Releases and Dependency Information -======================================== - -Latest stable release: none - -* [All Released Versions](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.clojure%22%20AND%20a%3A%22core.specs.alpha%22) - -* [Development Snapshot Versions](https://oss.sonatype.org/index.html#nexus-search;gav~org.clojure~core.specs.alpha~~~) - -[Leiningen](https://github.com/technomancy/leiningen) dependency information: - - [org.clojure/core.specs.alpha "0.1.24"] - -[Maven](http://maven.apache.org/) dependency information: - - - org.clojure - core.specs.alpha - 0.1.24 - - -Developer Information -======================================== - -* [GitHub project](https://github.com/clojure/core.specs.alpha) - -* [Changelog](https://github.com/clojure/core.specs.alpha/blob/master/CHANGES.md) - -* [Bug Tracker](http://dev.clojure.org/jira/browse/CLJ) - -* [Continuous Integration](http://build.clojure.org/job/core.specs.alpha/) - -* [Compatibility Test Matrix](http://build.clojure.org/job/core.specs.alpha-test-matrix/) - - -Copyright and License -======================================== - -Copyright (c) Rich Hickey, and contributors, 2016. All rights reserved. The use and distribution terms for this software are covered by the Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which can be found in the file epl-v10.html at the root of this distribution. By using this software in any fashion, you are agreeing to be bound bythe terms of this license. You must not remove this notice, or any other, from this software. diff --git a/VERSION_TEMPLATE b/VERSION_TEMPLATE deleted file mode 100755 index d1f515d..0000000 --- a/VERSION_TEMPLATE +++ /dev/null @@ -1 +0,0 @@ -0.1.GENERATED_VERSION diff --git a/epl-v10.html b/epl-v10.html deleted file mode 100644 index 84ec251..0000000 --- a/epl-v10.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - -Eclipse Public License - Version 1.0 - - - - - - -

Eclipse Public License - v 1.0

- -

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE -PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR -DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS -AGREEMENT.

- -

1. DEFINITIONS

- -

"Contribution" means:

- -

a) in the case of the initial Contributor, the initial -code and documentation distributed under this Agreement, and

-

b) in the case of each subsequent Contributor:

-

i) changes to the Program, and

-

ii) additions to the Program;

-

where such changes and/or additions to the Program -originate from and are distributed by that particular Contributor. A -Contribution 'originates' from a Contributor if it was added to the -Program by such Contributor itself or anyone acting on such -Contributor's behalf. Contributions do not include additions to the -Program which: (i) are separate modules of software distributed in -conjunction with the Program under their own license agreement, and (ii) -are not derivative works of the Program.

- -

"Contributor" means any person or entity that distributes -the Program.

- -

"Licensed Patents" mean patent claims licensable by a -Contributor which are necessarily infringed by the use or sale of its -Contribution alone or when combined with the Program.

- -

"Program" means the Contributions distributed in accordance -with this Agreement.

- -

"Recipient" means anyone who receives the Program under -this Agreement, including all Contributors.

- -

2. GRANT OF RIGHTS

- -

a) Subject to the terms of this Agreement, each -Contributor hereby grants Recipient a non-exclusive, worldwide, -royalty-free copyright license to reproduce, prepare derivative works -of, publicly display, publicly perform, distribute and sublicense the -Contribution of such Contributor, if any, and such derivative works, in -source code and object code form.

- -

b) Subject to the terms of this Agreement, each -Contributor hereby grants Recipient a non-exclusive, worldwide, -royalty-free patent license under Licensed Patents to make, use, sell, -offer to sell, import and otherwise transfer the Contribution of such -Contributor, if any, in source code and object code form. This patent -license shall apply to the combination of the Contribution and the -Program if, at the time the Contribution is added by the Contributor, -such addition of the Contribution causes such combination to be covered -by the Licensed Patents. The patent license shall not apply to any other -combinations which include the Contribution. No hardware per se is -licensed hereunder.

- -

c) Recipient understands that although each Contributor -grants the licenses to its Contributions set forth herein, no assurances -are provided by any Contributor that the Program does not infringe the -patent or other intellectual property rights of any other entity. Each -Contributor disclaims any liability to Recipient for claims brought by -any other entity based on infringement of intellectual property rights -or otherwise. As a condition to exercising the rights and licenses -granted hereunder, each Recipient hereby assumes sole responsibility to -secure any other intellectual property rights needed, if any. For -example, if a third party patent license is required to allow Recipient -to distribute the Program, it is Recipient's responsibility to acquire -that license before distributing the Program.

- -

d) Each Contributor represents that to its knowledge it -has sufficient copyright rights in its Contribution, if any, to grant -the copyright license set forth in this Agreement.

- -

3. REQUIREMENTS

- -

A Contributor may choose to distribute the Program in object code -form under its own license agreement, provided that:

- -

a) it complies with the terms and conditions of this -Agreement; and

- -

b) its license agreement:

- -

i) effectively disclaims on behalf of all Contributors -all warranties and conditions, express and implied, including warranties -or conditions of title and non-infringement, and implied warranties or -conditions of merchantability and fitness for a particular purpose;

- -

ii) effectively excludes on behalf of all Contributors -all liability for damages, including direct, indirect, special, -incidental and consequential damages, such as lost profits;

- -

iii) states that any provisions which differ from this -Agreement are offered by that Contributor alone and not by any other -party; and

- -

iv) states that source code for the Program is available -from such Contributor, and informs licensees how to obtain it in a -reasonable manner on or through a medium customarily used for software -exchange.

- -

When the Program is made available in source code form:

- -

a) it must be made available under this Agreement; and

- -

b) a copy of this Agreement must be included with each -copy of the Program.

- -

Contributors may not remove or alter any copyright notices contained -within the Program.

- -

Each Contributor must identify itself as the originator of its -Contribution, if any, in a manner that reasonably allows subsequent -Recipients to identify the originator of the Contribution.

- -

4. COMMERCIAL DISTRIBUTION

- -

Commercial distributors of software may accept certain -responsibilities with respect to end users, business partners and the -like. While this license is intended to facilitate the commercial use of -the Program, the Contributor who includes the Program in a commercial -product offering should do so in a manner which does not create -potential liability for other Contributors. Therefore, if a Contributor -includes the Program in a commercial product offering, such Contributor -("Commercial Contributor") hereby agrees to defend and -indemnify every other Contributor ("Indemnified Contributor") -against any losses, damages and costs (collectively "Losses") -arising from claims, lawsuits and other legal actions brought by a third -party against the Indemnified Contributor to the extent caused by the -acts or omissions of such Commercial Contributor in connection with its -distribution of the Program in a commercial product offering. The -obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. In -order to qualify, an Indemnified Contributor must: a) promptly notify -the Commercial Contributor in writing of such claim, and b) allow the -Commercial Contributor to control, and cooperate with the Commercial -Contributor in, the defense and any related settlement negotiations. The -Indemnified Contributor may participate in any such claim at its own -expense.

- -

For example, a Contributor might include the Program in a commercial -product offering, Product X. That Contributor is then a Commercial -Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance -claims and warranties are such Commercial Contributor's responsibility -alone. Under this section, the Commercial Contributor would have to -defend claims against the other Contributors related to those -performance claims and warranties, and if a court requires any other -Contributor to pay any damages as a result, the Commercial Contributor -must pay those damages.

- -

5. NO WARRANTY

- -

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS -PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS -OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, -ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY -OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely -responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement , including but not limited to -the risks and costs of program errors, compliance with applicable laws, -damage to or loss of data, programs or equipment, and unavailability or -interruption of operations.

- -

6. DISCLAIMER OF LIABILITY

- -

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT -NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

- -

7. GENERAL

- -

If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of -the remainder of the terms of this Agreement, and without further action -by the parties hereto, such provision shall be reformed to the minimum -extent necessary to make such provision valid and enforceable.

- -

If Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that the -Program itself (excluding combinations of the Program with other -software or hardware) infringes such Recipient's patent(s), then such -Recipient's rights granted under Section 2(b) shall terminate as of the -date such litigation is filed.

- -

All Recipient's rights under this Agreement shall terminate if it -fails to comply with any of the material terms or conditions of this -Agreement and does not cure such failure in a reasonable period of time -after becoming aware of such noncompliance. If all Recipient's rights -under this Agreement terminate, Recipient agrees to cease use and -distribution of the Program as soon as reasonably practicable. However, -Recipient's obligations under this Agreement and any licenses granted by -Recipient relating to the Program shall continue and survive.

- -

Everyone is permitted to copy and distribute copies of this -Agreement, but in order to avoid inconsistency the Agreement is -copyrighted and may only be modified in the following manner. The -Agreement Steward reserves the right to publish new versions (including -revisions) of this Agreement from time to time. No one other than the -Agreement Steward has the right to modify this Agreement. The Eclipse -Foundation is the initial Agreement Steward. The Eclipse Foundation may -assign the responsibility to serve as the Agreement Steward to a -suitable separate entity. Each new version of the Agreement will be -given a distinguishing version number. The Program (including -Contributions) may always be distributed subject to the version of the -Agreement under which it was received. In addition, after a new version -of the Agreement is published, Contributor may elect to distribute the -Program (including its Contributions) under the new version. Except as -expressly stated in Sections 2(a) and 2(b) above, Recipient receives no -rights or licenses to the intellectual property of any Contributor under -this Agreement, whether expressly, by implication, estoppel or -otherwise. All rights in the Program not expressly granted under this -Agreement are reserved.

- -

This Agreement is governed by the laws of the State of New York and -the intellectual property laws of the United States of America. No party -to this Agreement will bring a legal action under this Agreement more -than one year after the cause of action arose. Each party waives its -rights to a jury trial in any resulting litigation.

- - - - diff --git a/pom.xml b/pom.xml deleted file mode 100644 index bf150cb..0000000 --- a/pom.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - 4.0.0 - core.specs.alpha - 0.1.25-SNAPSHOT - core.specs.alpha - Specs for clojure.core - - - scm:git:git://github.com/clojure/core.specs.alpha.git - scm:git:ssh://git@github.com/clojure/core.specs.alpha.git - HEAD - https://github.com/clojure/core.specs.alpha - - - - - Eclipse Public License 1.0 - http://opensource.org/licenses/eclipse-1.0.php - repo - - - - - org.clojure - pom.contrib - 0.2.2 - - - - - puredanger - Alex Miller - http://clojure.org - - - - - 1.9.0-beta3 - - - - - org.clojure - clojure - ${clojure.version} - provided - - - org.clojure - spec.alpha - 0.1.123 - provided - - - - - - - com.theoryinpractise - clojure-maven-plugin - 1.7.1 - - - clojure-compile - none - - - clojure-test - test - - - - true - true - false - - clojure.core.specs - - - src/main/clojure - - - src/test/clojure - - - - - - diff --git a/script/build/branch_revision b/script/build/branch_revision deleted file mode 100755 index 7753327..0000000 --- a/script/build/branch_revision +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -# If on a branch other than master, returns the number of commits made off of master -# If on master, returns 0 - -set -e - -master_tag=`git rev-parse --abbrev-ref HEAD` - -if [ "$master_tag" == "master" ]; then - echo "0" -else - last_commit=`git rev-parse HEAD` - revision=`git rev-list master..$last_commit | wc -l` - echo $revision -fi diff --git a/script/build/git_revision b/script/build/git_revision deleted file mode 100755 index d4449c3..0000000 --- a/script/build/git_revision +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -# Return the portion of the version number generated from git -# - -set -e - -trunk_basis=`script/build/trunk_revision` -sha=`git rev-parse HEAD` - -sha=${sha:0:${#sha}-34} # drop the last 34 characters, keep 6 - -echo $trunk_basis diff --git a/script/build/revision b/script/build/revision deleted file mode 100755 index 9da2d74..0000000 --- a/script/build/revision +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -# Return the complete revision number -# ...-[-qualifier] - -set -e - -version_template=`cat VERSION_TEMPLATE` - -if [[ "$version_template" =~ ^[0-9]+\.[0-9]+\.GENERATED_VERSION(-[a-zA-Z0-9]+)?$ ]]; then - - git_revision=`script/build/git_revision` - echo ${version_template/GENERATED_VERSION/$git_revision} - -else - echo "Invalid version template string: $version_template" >&2 - exit -1 -fi - diff --git a/script/build/trunk_revision b/script/build/trunk_revision deleted file mode 100755 index ac557ff..0000000 --- a/script/build/trunk_revision +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -# Returns the number of commits made since the v0.0 tag - -set -e - -REVISION=`git --no-replace-objects describe --match v0.0` - -# Extract the version number from the string. Do this in two steps so -# it is a little easier to understand. -REVISION=${REVISION:5} # drop the first 5 characters -REVISION=${REVISION:0:${#REVISION}-9} # drop the last 9 characters - -echo $REVISION diff --git a/script/build/update_version b/script/build/update_version deleted file mode 100755 index 8bd8098..0000000 --- a/script/build/update_version +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -set -e - -mvn versions:set -DnewVersion=`script/build/revision`-SNAPSHOT diff --git a/src/main/clojure/clojure/core/specs/alpha.clj b/src/main/clojure/clojure/core/specs/alpha.clj deleted file mode 100644 index edcc842..0000000 --- a/src/main/clojure/clojure/core/specs/alpha.clj +++ /dev/null @@ -1,238 +0,0 @@ -(ns ^{:skip-wiki true} clojure.core.specs.alpha - (:require [clojure.spec.alpha :as s])) - -;;;; destructure - -(s/def ::local-name (s/and simple-symbol? #(not= '& %))) - -(s/def ::binding-form - (s/or :sym ::local-name - :seq ::seq-binding-form - :map ::map-binding-form)) - -;; sequential destructuring - -(s/def ::seq-binding-form - (s/and vector? - (s/cat :elems (s/* ::binding-form) - :rest (s/? (s/cat :amp #{'&} :form ::binding-form)) - :as (s/? (s/cat :as #{:as} :sym ::local-name))))) - -;; map destructuring - -(s/def ::keys (s/coll-of ident? :kind vector?)) -(s/def ::syms (s/coll-of symbol? :kind vector?)) -(s/def ::strs (s/coll-of simple-symbol? :kind vector?)) -(s/def ::or (s/map-of simple-symbol? any?)) -(s/def ::as ::local-name) - -(s/def ::map-special-binding - (s/keys :opt-un [::as ::or ::keys ::syms ::strs])) - -(s/def ::map-binding (s/tuple ::binding-form any?)) - -(s/def ::ns-keys - (s/tuple - (s/and qualified-keyword? #(-> % name #{"keys" "syms"})) - (s/coll-of simple-symbol? :kind vector?))) - -(s/def ::map-bindings - (s/every (s/or :mb ::map-binding - :nsk ::ns-keys - :msb (s/tuple #{:as :or :keys :syms :strs} any?)) :into {})) - -(s/def ::map-binding-form (s/merge ::map-bindings ::map-special-binding)) - -;; bindings - -(s/def ::binding (s/cat :binding ::binding-form :init-expr any?)) -(s/def ::bindings (s/and vector? (s/* ::binding))) - -;; let, if-let, when-let - -(s/fdef clojure.core/let - :args (s/cat :bindings ::bindings - :body (s/* any?))) - -(s/fdef clojure.core/if-let - :args (s/cat :bindings (s/and vector? ::binding) - :then any? - :else (s/? any?))) - -(s/fdef clojure.core/when-let - :args (s/cat :bindings (s/and vector? ::binding) - :body (s/* any?))) - -;; defn, defn-, fn - -(s/def ::arg-list - (s/and - vector? - (s/cat :args (s/* ::binding-form) - :varargs (s/? (s/cat :amp #{'&} :form ::binding-form))))) - -(s/def ::args+body - (s/cat :args ::arg-list - :body (s/alt :prepost+body (s/cat :prepost map? - :body (s/+ any?)) - :body (s/* any?)))) - -(s/def ::defn-args - (s/cat :name simple-symbol? - :docstring (s/? string?) - :meta (s/? map?) - :bs (s/alt :arity-1 ::args+body - :arity-n (s/cat :bodies (s/+ (s/spec ::args+body)) - :attr (s/? map?))))) - -(s/fdef clojure.core/defn - :args ::defn-args - :ret any?) - -(s/fdef clojure.core/defn- - :args ::defn-args - :ret any?) - -(s/fdef clojure.core/fn - :args (s/cat :name (s/? simple-symbol?) - :bs (s/alt :arity-1 ::args+body - :arity-n (s/+ (s/spec ::args+body)))) - :ret any?) - -;;;; ns - -(s/def ::exclude (s/coll-of simple-symbol?)) -(s/def ::only (s/coll-of simple-symbol?)) -(s/def ::rename (s/map-of simple-symbol? simple-symbol?)) -(s/def ::filters (s/keys* :opt-un [::exclude ::only ::rename])) - -(s/def ::ns-refer-clojure - (s/spec (s/cat :clause #{:refer-clojure} - :filters ::filters))) - -(s/def ::refer (s/or :all #{:all} - :syms (s/coll-of simple-symbol?))) - -(s/def ::prefix-list - (s/spec - (s/cat :prefix simple-symbol? - :libspecs (s/+ ::libspec)))) - -(s/def ::libspec - (s/alt :lib simple-symbol? - :lib+opts (s/spec (s/cat :lib simple-symbol? - :options (s/keys* :opt-un [::as ::refer]))))) - -(s/def ::ns-require - (s/spec (s/cat :clause #{:require} - :body (s/+ (s/alt :libspec ::libspec - :prefix-list ::prefix-list - :flag #{:reload :reload-all :verbose}))))) - -(s/def ::package-list - (s/spec - (s/cat :package simple-symbol? - :classes (s/* simple-symbol?)))) - -(s/def ::import-list - (s/* (s/alt :class simple-symbol? - :package-list ::package-list))) - -(s/def ::ns-import - (s/spec - (s/cat :clause #{:import} - :classes ::import-list))) - -(s/def ::ns-refer - (s/spec (s/cat :clause #{:refer} - :lib simple-symbol? - :filters ::filters))) - -;; same as ::prefix-list, but with ::use-libspec instead -(s/def ::use-prefix-list - (s/spec - (s/cat :prefix simple-symbol? - :libspecs (s/+ ::use-libspec)))) - -;; same as ::libspec, but also supports the ::filters options in the libspec -(s/def ::use-libspec - (s/alt :lib simple-symbol? - :lib+opts (s/spec (s/cat :lib simple-symbol? - :options (s/keys* :opt-un [::as ::refer ::exclude ::only ::rename]))))) - -(s/def ::ns-use - (s/spec (s/cat :clause #{:use} - :libs (s/+ (s/alt :libspec ::use-libspec - :prefix-list ::use-prefix-list - :flag #{:reload :reload-all :verbose}))))) - -(s/def ::ns-load - (s/spec (s/cat :clause #{:load} - :libs (s/* string?)))) - -(s/def ::name simple-symbol?) -(s/def ::extends simple-symbol?) -(s/def ::implements (s/coll-of simple-symbol? :kind vector?)) -(s/def ::init symbol?) -(s/def ::class-ident (s/or :class simple-symbol? :class-name string?)) -(s/def ::signature (s/coll-of ::class-ident :kind vector?)) -(s/def ::constructors (s/map-of ::signature ::signature)) -(s/def ::post-init symbol?) -(s/def ::method (s/and vector? - (s/cat :name simple-symbol? - :param-types ::signature - :return-type simple-symbol?))) -(s/def ::methods (s/coll-of ::method :kind vector?)) -(s/def ::main boolean?) -(s/def ::factory simple-symbol?) -(s/def ::state simple-symbol?) -(s/def ::get simple-symbol?) -(s/def ::set simple-symbol?) -(s/def ::expose (s/keys :opt-un [::get ::set])) -(s/def ::exposes (s/map-of simple-symbol? ::expose)) -(s/def ::prefix string?) -(s/def ::impl-ns simple-symbol?) -(s/def ::load-impl-ns boolean?) - -(s/def ::ns-gen-class - (s/spec (s/cat :clause #{:gen-class} - :options (s/keys* :opt-un [::name ::extends ::implements - ::init ::constructors ::post-init - ::methods ::main ::factory ::state - ::exposes ::prefix ::impl-ns ::load-impl-ns])))) - -(s/def ::ns-clauses - (s/* (s/alt :refer-clojure ::ns-refer-clojure - :require ::ns-require - :import ::ns-import - :use ::ns-use - :refer ::ns-refer - :load ::ns-load - :gen-class ::ns-gen-class))) - -(s/def ::ns-form - (s/cat :name simple-symbol? - :docstring (s/? string?) - :attr-map (s/? map?) - :clauses ::ns-clauses)) - -(s/fdef clojure.core/ns - :args ::ns-form) - -(defmacro ^:private quotable - "Returns a spec that accepts both the spec and a (quote ...) form of the spec" - [spec] - `(s/or :spec ~spec :quoted-spec (s/cat :quote #{'quote} :spec ~spec))) - -(s/def ::quotable-import-list - (s/* (s/alt :class (quotable simple-symbol?) - :package-list (quotable ::package-list)))) - -(s/fdef clojure.core/import - :args ::quotable-import-list) - -(s/fdef clojure.core/refer-clojure - :args (s/* (s/alt - :exclude (s/cat :op (quotable #{:exclude}) :arg (quotable ::exclude)) - :only (s/cat :op (quotable #{:only}) :arg (quotable ::only)) - :rename (s/cat :op (quotable #{:rename}) :arg (quotable ::rename))))) From a4f6c0a7dffad724088d246c1b8ead0c147b1a23 Mon Sep 17 00:00:00 2001 From: puredanger Date: Thu, 23 Nov 2017 10:09:53 -0600 Subject: [PATCH 2/3] autodoc --- api-index.html | 224 ++++++++++++++++++++++++++ index-0.1.25-SNAPSHOT.clj | 1 + index.html | 96 +++++++++++ static/clojure-icon.gif | Bin 0 -> 2174 bytes static/clojure.css | 53 ++++++ static/favicon.png | Bin 0 -> 656 bytes static/internal.css | 18 +++ static/space/content-background.gif | Bin 0 -> 397 bytes static/space/left-nav-background.gif | Bin 0 -> 638 bytes static/space/left-nav-bottom.gif | Bin 0 -> 936 bytes static/space/left-nav-divider.gif | Bin 0 -> 52 bytes static/space/resources-background.gif | Bin 0 -> 550 bytes static/space/toc-background.gif | Bin 0 -> 457 bytes static/wiki.css | 22 +++ 14 files changed, 414 insertions(+) create mode 100644 api-index.html create mode 100644 index-0.1.25-SNAPSHOT.clj create mode 100644 index.html create mode 100644 static/clojure-icon.gif create mode 100644 static/clojure.css create mode 100644 static/favicon.png create mode 100644 static/internal.css create mode 100644 static/space/content-background.gif create mode 100644 static/space/left-nav-background.gif create mode 100644 static/space/left-nav-bottom.gif create mode 100644 static/space/left-nav-divider.gif create mode 100644 static/space/resources-background.gif create mode 100644 static/space/toc-background.gif create mode 100644 static/wiki.css diff --git a/api-index.html b/api-index.html new file mode 100644 index 0000000..29bedd2 --- /dev/null +++ b/api-index.html @@ -0,0 +1,224 @@ + + + + Index - core.specs.alpha 0.1.25-SNAPSHOT API documentation + + + + + + + + + +
+ +
+ +
+
+
+
+
+ +

Index of Public Functions and Variables - core.specs.alpha 0.1.25-SNAPSHOT (in development)

+This page has an alphabetical index of all the documented functions and variables +in core.specs.alpha. + + +

+

+Shortcuts:
+A B C D + E F G H + I J K L + M +
+N O P Q + R S T U + V W X Y + Z +
+Other +
+
+ +
+

A

+
+
+  
+
+

B

+
+
+  
+
+

C

+
+
+  
+
+

D

+
+
+  
+
+

E

+
+
+  
+
+

F

+
+
+  
+
+

G

+
+
+  
+
+

H

+
+
+  
+
+

I

+
+
+  
+
+

J

+
+
+  
+
+

K

+
+
+  
+
+

L

+
+
+  
+
+

M

+
+
+  
+
+

N

+
+
+  
+
+

O

+
+
+  
+
+

P

+
+
+  
+
+

Q

+
+
+  
+
+

R

+
+
+  
+
+

S

+
+
+  
+
+

T

+
+
+  
+
+

U

+
+
+  
+
+

V

+
+
+  
+
+

W

+
+
+  
+
+

X

+
+
+  
+
+

Y

+
+
+  
+
+

Z

+
+
+  
+
+

Other

+
+
+  
+
+ +
+
+
+
+
+ +
+
Logo & site design by Tom Hickey.
+ Clojure auto-documentation system by Tom Faulhaber.
+
+ + + + \ No newline at end of file diff --git a/index-0.1.25-SNAPSHOT.clj b/index-0.1.25-SNAPSHOT.clj new file mode 100644 index 0000000..d139dab --- /dev/null +++ b/index-0.1.25-SNAPSHOT.clj @@ -0,0 +1 @@ +{:namespaces (), :vars ()} diff --git a/index.html b/index.html new file mode 100644 index 0000000..6724a0c --- /dev/null +++ b/index.html @@ -0,0 +1,96 @@ + + + + nil - core.specs.alpha 0.1.25-SNAPSHOT API documentation + + + + + + + + + +
+ +
+ +
+
+
+
+
+ +

API for + - core.specs.alpha 0.1.25-SNAPSHOT (in development) +

+ +
Full namespace name: +

+

Overview

+ +

+
+
+
+ + + + + + +
+
+
+
+
+ +
+
Logo & site design by Tom Hickey.
+ Clojure auto-documentation system by Tom Faulhaber.
+
+ + + + \ No newline at end of file diff --git a/static/clojure-icon.gif b/static/clojure-icon.gif new file mode 100644 index 0000000000000000000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Gqfx%i z-KuWfMLrhI@1*vo2seY;2$xHbh-(H-UYQq<>HtP;LWrntt_{Ba76G8X;u^0)A2`J1 z$DdEQihKl}4*z=yEbA^V7cLoYD9O@Yp_bOYw0sUSqLcj-Ht6h}z r0ob+z-NJ9Usu2{W%$JI1Q3Psq$AwTV6b4obFsLPL)kug&LI40e)1Al% literal 0 HcmV?d00001 diff --git a/static/space/left-nav-background.gif b/static/space/left-nav-background.gif new file mode 100644 index 0000000000000000000000000000000000000000..e6e590449ccd23d463edd3906bb471d156c98b1b GIT binary patch literal 638 zcmV-^0)hQUNk%w1VW_{rmg-{QUg*`1twx`SG000F4Fa>i|F(VTqf&jn=24n~X z=cuA!TefhVvMG$-Zk^9Ey`Ld3>0enwy-R zoOE(3CLbgN1Oo_AP*{i(1`3C%O-ztW9y&=tcR-%KzQ4ekY`ke=9$lyi1qHCJ0n5u! z83RmTAb>|UJfXqe-rw3TKBO&@0RvxLsTT)RRacD57zosnCgRtWKj8fRy*OrQh!{48 z1D7Yu7&%M0Wm>f)By#CXx%EyfmTYXSKng+$B!jZ}v@gxcM Y3^!j9Sm0_$m==|C{jCE{6%hacJAN`7+yDRo literal 0 HcmV?d00001 diff --git a/static/space/left-nav-bottom.gif b/static/space/left-nav-bottom.gif new file mode 100644 index 0000000000000000000000000000000000000000..061c0895704895359a1f290af448a538eee299e7 GIT binary patch literal 936 zcmZ?wbhEHbT)`m3aFv1K|NsC0{{8#=_wS!Se}4b|{r&s*XV0Gf`0?Z3y?gK9zyJC3 z=dWMCu3fwK?c29^@7_Il@Zjs$uQzYreE$6Tty{P5-o5+r!(kjzIyfQ#ful$uV24$4<9{x^!fAWJ9qB9ef##qhYz=J z-)5i~DE?#to1p_DL4IOj`|seEP^cj%#?6#?fQN(OLWTm@45zi%wMtLFt=j)!L&YE7 zh>bCugB3VqJokm%g*nWjOSfch-gxG0 zPg7KM^M&-h!eSQoS-0jey0I_t^j^Gd&C>qMEo;xcdAsT2@u18}1zv>EN;dT!+ODRBleY>e=ERs?~ecz+0;_?S-$-1coEb zf@(Gv83$Akx3ep1NE9$MzL;F>A8r|Ss!Y%`Q|<9grKt~FTG$2ECcFqZbYlh+pG|6A|Tl^+#y`J;C?7ho`NV|P+tc_b(%0Ev!5b&_Ui%Hs`LDaiUVfAZ1%jJrE z%M{*inOEw3C`L#tW0kzue7Wdty3?6Ye01B9px{`2dfxH<((~VxzdO~luqCAO=FAWW zRxybN2Np$z2M5{D?rcB7a9pzCItzc#R!7FCsbWWO<`!ChO)OOX8s6r(UGzc&GpC)w z!Az-y2@cF_JSDgpk9!_qWa4popum=*dEmwb^{?9_gR)GP-mY&FC|JPEc1MJfS>%Gc zGE2wJ7xx%g7fg7-su|FEDh2l~_u3>cZD3PKziO|xDu z7r%8xvyo9;X9YVeM@mKmqr=UVMH0^4t9^DlQFzkmDT z`|XEsS08z_;^4ho58kXeaBtpk?_M2YC&t>zRi>(XT_Hm~Mh8@^g2P^a6Q(Pa18bLXA* z`gR`(KCE1FEI=>+l*zmc4o@x8zA3t|2UCt2@7$p-h z(yATIq1gMs1Nz;lo36&a*uxUlULcR6pQ-=+4uVYNwAn&1{^K zwe;p`kvWmYHDM=%MR-qa08ahoB2ck{|=XLc&8-5E;SkR+~AW(5Q4uRdH^I!(gDR5E23*@te39 zw%G#UQ*FE7@VM*K$!-M(V}cMKPL2pb0tYyRY;uT+ii`RJOb4!0eg^pXCaot3PC=t)W0OoEt8d@JV4Sd&hYo=- zrHVBM@X<0!8s~N0fhO$Ox3V1NQ--Snn2SVw1ZwKj8r;90L}@vBGeM9A5dZ)?W#ZO+ literal 0 HcmV?d00001 diff --git a/static/wiki.css b/static/wiki.css new file mode 100644 index 0000000..1cb1bdd --- /dev/null +++ b/static/wiki.css @@ -0,0 +1,22 @@ +/* Wiki Rendered Styles */ +.wiki { line-height: 150%; font-family: arial, helvetica, sans-serif; font-size: small; } +.wiki h1 { font-weight: bold; padding: 5px 0 0 0; margin: 0; font-size: 1.4em; } +.wiki h2 { font-weight: bold; padding: 5px 0 0 0; margin: 0; font-size: 1.3em; } +.wiki h3 { font-weight: bold; padding: 5px 0 0 0; margin: 0; font-size: 1.1em; } +.wiki h4 { font-weight: normal; padding: 5px 0 0 0; margin: 0; font-size: 1.066em; } +.wiki h5 { font-weight: normal; padding: 5px 0 0 0; margin: 0; font-size: 1.033em; } +.wiki h6 { font-weight: normal; padding: 5px 0 0 0; margin: 0; font-size: 1.0em; } +.wiki table { border-collapse: collapse; margin: 10px 0; font-size: small; } +.wiki p { margin: 0; padding: 0; padding: 5px 0; } +.wiki td { border: 1px solid #DDD; } +.wiki #toc { border: 1px solid #AAA; background: #fff; padding: 5px; margin: 0 0 10px 10px; width: 25%; float: right; clear: right;} +.wiki #toc h1 { font-weight: normal; font-size: 1.2em; padding: 0; } +.wiki #toc a:hover { color: #00D; background: #FFD; } + +.wiki hr { height: 1px; color: #AAA; background-color: #AAA; border: 0; margin: 0 10px; } +.wiki ul { padding: .5em 0 0 3em; margin: 0; } +.wiki ol { padding: .5em 0 0 3em; margin: 0; } +.wiki ul.quotelist { list-style: none; } +.wiki tt { font-size: small; } +.wiki img { border: 0; padding: 4px; } + From 9e7355e8183ab7c98db7ae3d6e3c2c0eddf6a662 Mon Sep 17 00:00:00 2001 From: Alex Miller Date: Fri, 30 Sep 2022 11:39:16 -0500 Subject: [PATCH 3/3] docs --- api-index.html | 105 ++++-- index-0.1.25-SNAPSHOT.clj | 1 - index.html | 685 +++++++++++++++++++++++++++++++++++++- 3 files changed, 755 insertions(+), 36 deletions(-) delete mode 100644 index-0.1.25-SNAPSHOT.clj diff --git a/api-index.html b/api-index.html index 29bedd2..fc2697d 100644 --- a/api-index.html +++ b/api-index.html @@ -1,7 +1,7 @@ - Index - core.specs.alpha 0.1.25-SNAPSHOT API documentation + Index - core.specs.alpha 0.2.63-SNAPSHOT API documentation @@ -25,7 +25,7 @@

core.specs.a