diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-31T13·59+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-31T13·59+0100 |
commit | a35f723d9271c081318fe463cd6fc51757d8cb0f (patch) | |
tree | ca57e41d3ec34a5b7be164793babd9f00c7d9c78 /emacs/.emacs.d/wpc/math.el | |
parent | 1c87082648c6d265bddaf160f858f14240db739d (diff) |
Lint maybe.el
This change had rippling implications.
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")))) |