bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Typo in help text for monadic | (Magnitude)


From: Russtopia
Subject: Typo in help text for monadic | (Magnitude)
Date: Mon, 2 Aug 2021 13:34:45 -0700

See attached file (src/Help.def)
-2nd arg. to the help_def() macro for the ASCII help had the APL | rather than ASCII |, so the monadic help text was not given for ]help |

Thanks,
-Russ

--
$ svn diff src/Help.def
Index: src/Help.def
===================================================================
--- src/Help.def (revision 1480)
+++ src/Help.def (working copy)
@@ -140,11 +140,11 @@
 help_def(2, "⌈", "Maximum",                   "The greater value of A or B",                                                                     "")
 help_def(1, "⌊", "Floor",                     "Greatest integer less than or equal to B",                                                        "")
 help_def(2, "⌊", "Minimum",                   "The smaller value of A or B",                                                                     "")
-help_def(1, "∣", "Absolute value",            "Magnitude of B",                                                                                  "")
+help_def(1, "|", "Absolute value",            "Magnitude of B",                                                                                  "")
 // Note: ASCII | versus APL ∣
 help_def(1, "∣", "Absolute value",            "Magnitude of B",                                                                                  "")
-help_def(2, "∣", "Modulo",                    "R modulo A",                                                                                      "")
-help_def(2, "|", "Modulo",                    "R modulo A",                                                                                      "")
+help_def(2, "∣", "Modulo",                    "B modulo A",                                                                                      "")
+help_def(2, "|", "Modulo",                    "B modulo A",                                                                                      "")
 // Note: ASCII ~ is not APL ∼
 help_def(1, "∼", "Not",                       "Boolean inverse: Z[i] is 1 - B[i], all B[i] must be 0 or 1",                                      "")
 help_def(1, "~", "Not",                       "Boolean inverse: Z[i] is 1 - B[i], all B[i] must be 0 or 1",                                      "")

Attachment: Help.def
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]