CL-USER> (parse-number:parse-positive-real-number "0")
0
CL-USER> (alexandria:positive-real-p 0)
NIL
I know that this most likely won't get "fixed" (changing the function to parse-non-negative-real-number won't work, and neither will causing "0" to signal an error) due to widespread use of parse-number, but can this warrant at least a remark in docstring as a kludge?
I know that this most likely won't get "fixed" (changing the function to
parse-non-negative-real-numberwon't work, and neither will causing"0"to signal an error) due to widespread use ofparse-number, but can this warrant at least a remark in docstring as a kludge?