Utilities for clojure.spec.
[com.nedap.staffing-solutions/utils.spec "2.0.0-alpha4"]
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 Coenraad & TwanEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close