Ver código fonte

Make functions smaller

Matt Coles 10 anos atrás
pai
commit
3803026929
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      poly.cl

+ 3 - 3
poly.cl

@@ -1,13 +1,13 @@
1 1
 (defun poly+ (poly1 poly2)
2 2
   (add-terms poly1 poly2))
3 3
 
4
-(defun find-variable-symbol (single-poly)
4
+(defun variable-symbol (single-poly)
5 5
   (car (car (car single-poly))))
6 6
 
7
-(defun find-exponent (single-poly)
7
+(defun exponent (single-poly)
8 8
   (cdr (car (car single-poly))))
9 9
 
10
-(defun find-multiplier (single-poly)
10
+(defun multiplier (single-poly)
11 11
   (cdr (car single-poly)))
12 12
 
13 13
 (defun is-single-poly (var-poly)