ClojureDocs

导航

命名空间

*递归限制*

    A soft limit on how many times a branching spec (or/alt/*/opt-keys/multi-spec)
    can be recursed through during generation. After this a
    non-recursive branch will be chosen.
    1 Example
    ;; Limit the recursion to 1
    (binding [s/*recursion-limit* 1]
      (gen/generate (s/gen my-spec)))
    See Also
    No see-alsos for clojure.spec.alpha/*recursion-limit*
    0 Notes
    No notes for *recursion-limit*