Fork me on GitHub
#clojure-spec
<
2019-12-04
>
vincent.cantin13:12:43

Hi, I am trying to define a cross-recursive spec (i.e. 2 specs defined using the other one) using spec-alpha2. How to do that?

vincent.cantin13:12:16

My repl complains on the first definition, saying that it does not find the second one (which is defined after)

alexmiller13:12:55

That won’t work at the moment

alexmiller13:12:39

There’s a pass needed to ensure every spec properly delays resolution of named specs

vlaaad14:12:09

will it work in spec-alpha2?

alexmiller14:12:10

it's just work I haven't done yet

alexmiller14:12:19

it (mostly) works in spec 1