Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/Complex/Polar.hs
module Complex where import DComplex import Magnitude import Phase polar :: (RealFloat a) => Complex a -> (a,a) polar z = (magnitude z, phase z)