ghostwheel
Hassle-free inline clojure.spec with semi-automatic generative testing and side effect detection (by gnl)
defn-spec
Add function args and return Spec checking via assertions (by Provisdom)
ghostwheel | defn-spec | |
---|---|---|
2 | 1 | |
597 | 53 | |
- | - | |
4.0 | 0.0 | |
3 months ago | 6 months ago | |
Clojure | Clojure | |
Eclipse Public License 2.0 | Eclipse Public License 1.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ghostwheel
Posts with mentions or reviews of ghostwheel.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-25.
-
fulcrologic/guardrails: spec as a loose type checker
big fan of fulcro logic, but isn’t this almost identical to https://github.com/gnl/ghostwheel ?
-
Python dataclass equivalent
if all you care about is information / documentation, and maybe validation, then spec or malli are fine. using spec during runtime to simulate a type system is a poor choice in most cases, because you are doing runtime type checking (something akin to dependent types or even esoteric contracts that are hard/impossible to express statically). There are some libs that help bolt a typed facade (using spec) onto the familiar defn / fn, https://github.com/gnl/ghostwheel https://github.com/Provisdom/defn-spec .
defn-spec
Posts with mentions or reviews of defn-spec.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-20.
-
Python dataclass equivalent
if all you care about is information / documentation, and maybe validation, then spec or malli are fine. using spec during runtime to simulate a type system is a poor choice in most cases, because you are doing runtime type checking (something akin to dependent types or even esoteric contracts that are hard/impossible to express statically). There are some libs that help bolt a typed facade (using spec) onto the familiar defn / fn, https://github.com/gnl/ghostwheel https://github.com/Provisdom/defn-spec .
What are some alternatives?
When comparing ghostwheel and defn-spec you can also consider the following projects:
truss - Assertions micro-library for Clojure/Script
spec-tools - Clojure(Script) tools for clojure.spec
clj-otel - An idiomatic Clojure API for adding telemetry to your libraries and applications using OpenTelemetry.
scope-capture - Project your Clojure(Script) REPL into the same context as your code when it ran
plumbing - Prismatic's Clojure(Script) utility belt
kaocha - Full featured next gen Clojure test runner
grasp - Grep Clojure code using clojure.spec regexes
test-refresh - Refreshes and reruns clojure.tests in your project.
datascript - Immutable database and Datalog query engine for Clojure, ClojureScript and JS
hashp - A better "prn" for debugging