From 24730b9d607945477a38f53185198d98d41d2ec4 Mon Sep 17 00:00:00 2001 From: Daniel Santos Date: Wed, 11 Jan 2023 15:19:47 +0000 Subject: rename to *number-units-at-beginning* --- cl-math.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl-math.lisp b/cl-math.lisp index 6a92c3f..5eae31d 100644 --- a/cl-math.lisp +++ b/cl-math.lisp @@ -1,6 +1,6 @@ ;;; plus one function -(defvar *number-units-beginning* nil) +(defvar *number-units-at-beginning* nil) (defun next-digit (numerals digit) "Given a list of a numeral system and a digit, it returns the next digit." @@ -11,7 +11,7 @@ (defun may-reverse (number) "If units is placed on the end, reverse; else keep it." - (if *number-units-beginning* + (if *number-units-at-beginning* number (reverse number))) -- cgit 1.4.1-2-gfad0