@vlaaad this works: https://re-find.it/?args=%23%23Inf%20%23%23Inf&ret=number%3F
The NaN case probably fails because of (= ##NaN ##NaN)
, Iām not sure re-find should support it š
so not-a-number is a number, heh š
as a workaround you can do this: https://re-find.it/?args=%23%23Inf%20%23%23Inf&ret=%23%28%3D%20%22NaN%22%20%28str%20%25%29%29
about cljfx, is there something that turns a cljfx app into a standalone desktop application?
should be #(and (number? %) (not= % %))
instead of #(= "NaN" (str %))
ā won't give false positive for "NaN"
input
yes, that works too
> is there something that turns a cljfx app into a standalone desktop application?
not in a library itself, but you should be able to assemble a stripped down jdk using jlink
tool (I tried that), and after that pack stripped jdk + fat jar as a single-file executable using jpackager
(which I didn't try)
probably should investigate and add to readme
Iām just asking because this would be cool, but adding it to the README would make it more accessible yes
agree