Fork me on GitHub
#clojure-spec
<
2019-02-01
>
borkdude09:02:32

I would like to have a better solution for this problem: https://github.com/borkdude/speculative/issues/276

borkdude11:02:20

Is there something like s/undef in spec? I guess not?

eval202011:02:21

IIRC there’s a ticket for that

borkdude11:02:07

What I actually want is to define a an fdef that doesn’t get instrumented when calling (stest/instrument), but this may be too niche.

borkdude11:02:03

oooh, nice 🙂

borkdude11:02:11

this is already in spec

borkdude11:02:45

but this doesn’t work for fdef?

borkdude11:02:26

(s/def clojure.core/hash-map nil) works

borkdude11:02:51

seems to work also in CLJS

eval202011:02:54

would expect fdef’s to be put in the registry

borkdude11:02:19

cool, I might be able to use this, thanks @eval2020!