metosin/malli

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

Open

#1,130 创建于 2024年11月24日

在 GitHub 查看
 (0 评论) (0 反应) (1 负责人)Clojure (1,724 star) (237 fork)batch import
generatorhelp wanted

描述

(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.

贡献者指南