clojure-spec

About: http://clojure.org/about/spec Guide: http://clojure.org/guides/spec API: https://clojure.github.io/spec.alpha/clojure.spec.alpha-api.html
NoahTheDuke 2021-05-07T15:43:18.137400Z

is it possible to take a function that creates a string and use it in/as a generator? converting the function to a generator would be impractical, if not outright impossible

alexmiller 2021-05-07T16:05:05.138Z

there is such a thing in test.chuck - generates string that match a regex

👍 1
borkdude 2021-05-07T16:23:37.138800Z

Regal also has generators from regexes: https://github.com/lambdaisland/regal#use-with-specalpha