diff complex.yeti @ 57:08b2b9fce25c

Remove the complex constants; they're not very useful and pollute the namespace
author Chris Cannam
date Wed, 09 Jan 2013 21:35:37 +0000
parents d037211bf5d7
children 3a13af4bd8ba
line wrap: on
line diff
--- a/complex.yeti	Tue Jan 08 19:54:27 2013 +0000
+++ b/complex.yeti	Wed Jan 09 21:35:37 2013 +0000
@@ -68,9 +68,6 @@
    angle,
    add,
    scale,
-   i = complex 0 1,
-   one = complex 1 0,
-   zero = complex 0 0,
 } as {
    real is cplx -> number,
    imaginary is cplx -> number,
@@ -79,8 +76,5 @@
    angle is cplx -> number,
    add is cplx -> cplx -> cplx,
    scale is number -> cplx -> cplx,
-   i is cplx,
-   one is cplx,
-   zero is cplx,
 }