You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In other words, numbers are being recognised only as strings.
I wrote a wee function which sorts this:
(defnnumbers-as-numbers"Return a list like the sequence `l`, but with all those elements which are string representations of numbers replaced with numbers."
[l]
(map #(if
(string? %)
(try
(let [n (read-string %)]
(if (number? n) n %))
(catch Exception e %))
%)
l))
I'll try to do a pull request later today with this added in.
The text was updated successfully, but these errors were encountered:
Given this input data row:
(from here)
I get this output:
In other words, numbers are being recognised only as strings.
I wrote a wee function which sorts this:
I'll try to do a pull request later today with this added in.
The text was updated successfully, but these errors were encountered: