malli icon indicating copy to clipboard operation
malli copied to clipboard

There's no `:float`

Open vemv opened this issue 2 years ago • 0 comments

Hi there,

I noticed there's no :float. float? is recognised, however.

Probably it would be good to leave things symmetric relative to :double?

My request is not esoteric as it might sound - I have a work context where floats are heavily preferred over doubles. So leaving them as "first-class citizens" would be nice.

(I am assuming that malli considers floats and doubles diferent things, i.e. that the float? predicate isn't simply some sort of 'shortcut' for getting double?/:double behavior)

Thanks - V

vemv avatar Jul 12 '22 20:07 vemv