Hi Sean,
You can use `(s/constrained s/Str seq)`, which will both enforce
non-emptiness and backtrack past generation of empty strings.
If you just want to affect generation, or the constraint is more
stringent (so backtracking is slow and/or eventually fails) then you
can pass a custom generator to the generation process instead. E.g.
(def UID (s/named String 'UID))
and then you can pass a custom generator map `{UID my-uid-generator}`
into generation or completion.
Is that what you're looking for?
Cheers,
Jason
> --
> You received this message because you are subscribed to the Google Groups
> "Plumbing and Graph: the Clojure utility belt" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
prismatic-plumb...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.