metosin/malli

Opaque `such-that` error when using `##NaN` as bound

Aperta

#1130 aperta il 24 nov 2024

 (0 commenti) (0 reazioni) (1 assegnatario)Clojure (237 fork)batch import
generatorhelp wanted

Metriche repository

Star
 (1724 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

(mg/generate [:>= ##NaN])
;Couldn't satisfy such-that predicate after 10 tries.
(mg/generate [:> ##NaN])
;Couldn't satisfy such-that predicate after 10 tries.
(mg/generate [:< ##NaN])
;Couldn't satisfy such-that predicate after 10 tries.
(mg/generate [:<= ##NaN])
;Couldn't satisfy such-that predicate after 10 tries.
(mg/generate [:double {:max ##NaN}])
;Couldn't satisfy such-that predicate after 10 tries.

Guida contributor