Open suzumiyasmith opened 6 years ago
Kicking things around it'd almost be better to present this as a prism or iso, except for the normalization issue. =/
I have no real objection to adding it. I'd probably bikeshed the name to 'unangle' or 'toAngle' though.
Would it make sense to have polar :: Iso' (V2 a) (a, a)
?
We have such an iso for Data.Complex.
I have no particular issue with adding a definition for it here.
I use this function a lot.
Shoud we add it to Linear.V2?