Utilities for clojure.spec.
[com.nedap.staffing-solutions/utils.spec "1.3.1-alpha1"]
Note that self-hosted ClojureScript (e.g. Lumo) is unsupported at the moment.
In JVM Clojure, set *assert* to false.
In ClojureScript, set :elide-asserts to true.
Please browse the public namespaces, which are documented, speced and tested.
In cases where a check! spec-failure is printed, but the stacktrace is swallowed, one can debug the origin by setting the java property nedap.utils.spec.print-stack-frames to a positive number to print that amount of stackframes before the exception is raised.
It's generally recommended not to swallow these exceptions in dev/test environments.
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 CoenraadEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |