Fork me on GitHub
#malli
<
2021-04-24
>
ikitommi17:04:46

: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")

👍 6