Selected, generic predicates that you might find handy when specing things.
[com.nedap.staffing-solutions/utils.spec.predicates "1.2.2-alpha1"]
Please browse the public namespaces, which are documented, speced and tested.
Generator-equipped specs are available from the main namespace:
(require '[nedap.utils.spec.predicates.predicates :as predicates]
'[clojure.spec.alpha :as spec]
'[clojure.spec.gen.alpha :as gen])
=> nil
(gen/sample (spec/gen ::predicates/pos-integer))
=> (3 1 12 3 1 6 58 4 107 2)
The default namespace is dev
. Under it, (refresh)
is available, which should give you a basic "Reloaded workflow".
It is recommended that you use
(clojure.tools.namespace.repl/refresh :after 'formatting-stack.core/format!)
.
Copyright © Nedap This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0
Can you improve this documentation? These fine people already did:
vemv, Jeroen de Jong, Twan Coenraad & TwanEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close