summaryrefslogtreecommitdiff
path: root/coding-exercises/2/78/install-complex-package.rkt
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2023-05-02 21:33:01 +0200
committerMike Vink <mike1994vink@gmail.com>2023-05-02 21:33:01 +0200
commitbfdb81a05b010e51a7410f3503bfa9f43ccc2f7c (patch)
tree574fabfccbf1282fa301790aca2e0e615d0bd0b5 /coding-exercises/2/78/install-complex-package.rkt
parent630372114a588a45b9cbc4fb2911aa96ec37cc99 (diff)
finally finished the arithmetic package stuff
Diffstat (limited to 'coding-exercises/2/78/install-complex-package.rkt')
-rw-r--r--coding-exercises/2/78/install-complex-package.rkt4
1 files changed, 2 insertions, 2 deletions
diff --git a/coding-exercises/2/78/install-complex-package.rkt b/coding-exercises/2/78/install-complex-package.rkt
index fa39328..a99b7d5 100644
--- a/coding-exercises/2/78/install-complex-package.rkt
+++ b/coding-exercises/2/78/install-complex-package.rkt
@@ -7,8 +7,8 @@
(define (install-complex-package apply-generic get put)
;; install and import methods
- (install-rectangular-package put)
- (install-polar-package put)
+ (install-rectangular-package apply-generic put)
+ (install-polar-package apply-generic put)
(define (make-from-real-imag x y)
((get 'make-from-real-imag 'rectangular) x y))
(define (make-from-mag-ang r a)