Closed GordStephen closed 7 years ago
Revisiting this and looking at the type signature in the code I copy/pasted, it's painfully obvious that axistrait
works perfectly fine, just not how I was erroneously thinking it did... The problem is my incorrect use of it (via checkaxis
) in the cat
function.
That being said, it doesn't seem unreasonable for functions named checkaxis
and axistrait
to accept Axis
arguments... I'll submit a PR.
On both 0.5 and 0.6:
Right now the methods are:
A working dispatch-based solution should be possible in 0.6, not sure about 0.5? Alternatively this could be switched over to a single method usingeltype
?