|
From: <ap...@us...> - 2025-12-11 07:05:22
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via bb307e3ac366da08489246040006a3e00bddd635 (commit)
from f350ddd019079b69da22d3df4691392003f0e34d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bb307e3ac366da08489246040006a3e00bddd635
Author: Robert Dodier <rob...@so...>
Date: Wed Dec 10 23:04:17 2025 -0800
Give $BOX the ALIAS property, so that a bare box symbol (not an expression operator) is parsed to MBOX.
This makes e.g. map(box, [e1, e2, e3]) work as expected.
diff --git a/src/comm2.lisp b/src/comm2.lisp
index 089b5300d..e1da8ba48 100644
--- a/src/comm2.lisp
+++ b/src/comm2.lisp
@@ -736,7 +736,14 @@ the hashtable.")
;;;; BOX
+;; Alias makes `box` in input parse to symbol MBOX.
+;; (The MHEADER property is only applied to nonatomic expressions;
+;; the alias property covers `box` as a symbol.)
+
+(defprop $box mbox alias)
+
;; Reverse alias makes MBOX and MLABOX display as box in 1-d output.
+
(defprop mbox $box reversealias)
(defprop mlabox $box reversealias)
-----------------------------------------------------------------------
Summary of changes:
src/comm2.lisp | 7 +++++++
1 file changed, 7 insertions(+)
hooks/post-receive
--
Maxima CAS
|