malli

https://github.com/metosin/malli :malli:
ikitommi 2021-04-24T17:50:46.014200Z

:gen/schema … this might be useful:

(mg/sample [:any {:gen/schema :int}])
; => (0 -1 -2 1 0 0 18 1 -3 -1)

(mg/sample [:string {:gen/schema [:int {:gen/min 10, :gen/max 100}], :gen/fmap 'str}])
; => ("11" "11" "11" "10" "10" "10" "10" "13" "13" "66")

👍 3