diff options
Diffstat (limited to 'emacs/.emacs.d/wpc/math.el')
-rw-r--r-- | emacs/.emacs.d/wpc/math.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/emacs/.emacs.d/wpc/math.el b/emacs/.emacs.d/wpc/math.el index 3176d906b466..82b501e2172e 100644 --- a/emacs/.emacs.d/wpc/math.el +++ b/emacs/.emacs.d/wpc/math.el @@ -28,13 +28,13 @@ (cl-defun math/triangle-of-power (&key base power result) ;; TODO: Assert two of three are set. (cond - ((maybe/somes? base power result) + ((maybe-somes? base power result) (error "All three arguments should not be set")) - ((maybe/somes? power result) + ((maybe-somes? power result) (message "power and result")) - ((maybe/somes? base result) + ((maybe-somes? base result) (log result base)) - ((maybe/somes? base power) + ((maybe-somes? base power) (expt base power)) (t (error "Two of the three arguments must be set")))) |