defn-spec

Add function args and return Spec checking via assertions (by Provisdom)

Defn-spec Alternatives

Similar projects and alternatives to defn-spec

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better defn-spec alternative or higher similarity.

defn-spec reviews and mentions

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
    7 projects | /r/Clojure | 20 Jan 2022
    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 .

Stats

Basic defn-spec repo stats
1
53
0.0
7 months ago

Provisdom/defn-spec is an open source project licensed under Eclipse Public License 1.0 which is an OSI approved license.

The primary programming language of defn-spec is Clojure.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com