about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/number.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/wpc/number.el')
-rw-r--r--emacs/.emacs.d/wpc/number.el15
1 files changed, 0 insertions, 15 deletions
diff --git a/emacs/.emacs.d/wpc/number.el b/emacs/.emacs.d/wpc/number.el
index 9d576797f1c9..c8ed665b3098 100644
--- a/emacs/.emacs.d/wpc/number.el
+++ b/emacs/.emacs.d/wpc/number.el
@@ -108,21 +108,6 @@ While this function is undeniably trivial, I have unintentionally done (- 1 x)
   "Add one to `X'."
   (+ x 1))
 
-;; TODO: Does this belong in a math module?  Is math too vague?  Or is number
-;; too vague?
-;; TODO: Resolve the circular dependency that this introduces with series.el,
-;; and then re-enable this function and its tests below.
-;; (defun number-factorial (x)
-;;   "Return factorial of `X'."
-;;   (cond
-;;    ((number-negative? x) (error "Will not take factorial of negative numbers"))
-;;    ((= 0 x) 1)
-;;    ;; NOTE: Using `series/range' introduces a circular dependency because:
-;;    ;; series -> number -> series.  Conceptually, however, this should be
-;;    ;; perfectly acceptable.
-;;    (t (->> (series/range 1 x)
-;;            (list-reduce 1 #'*)))))
-
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Tests
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;