Open meditans opened 2 years ago
In the current version of specter, if I transform ALL of a string I get the reversed order of characters:
specter
ALL
(specter/transform specter/ALL identity "123") ;; => (\3 \2 \1)
I find this confusing since we have:
(specter/select specter/ALL "123") ;; => [\1 \2 \3]
and:
(specter/transform specter/ALL identity (vec "123")) ;; => [\1 \2 \3]
Is there a reason for this behavior or could we change it to the more intuitive one?
ran into this today
Would just need to extend all-transform protocol to strings.
In the current version of
specter
, if I transformALL
of a string I get the reversed order of characters:I find this confusing since we have:
and:
Is there a reason for this behavior or could we change it to the more intuitive one?