[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] map instead of map! in src/doc/book.pamphlet
From: |
Ralf Hemmecke |
Subject: |
Re: [Axiom-developer] map instead of map! in src/doc/book.pamphlet |
Date: |
Thu, 16 Nov 2006 23:04:30 +0100 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20061025) |
On 11/16/2006 10:38 PM, Vanuxem Grégory wrote:
Hello,
A small typo in the Axiom book:
--- /home/greg/TDevel/cvs/axiom/src/doc/book.pamphlet
+++ src/doc/book.pamphlet
@@ -48550,7 +48548,7 @@
\returnType{Type: TwoDimensionalArray Integer}
To change the array destructively, use
-\spadfunFrom{map}{TwoDimensionalArray} instead of
+\spadfunFrom{map!}{TwoDimensionalArray} instead of
\spadfunFrom{map}{TwoDimensionalArray}. If you need to make a copy of
any array, use \spadfunFrom{copy}{TwoDimensionalArray}.
Beware I don't know what \spadfunFrom does.
I don't know either, but src/hyper/pages/util.ht says the stuff below...
Obviously, there are a lot of commands that look pretty much like LaTeX.
But I guess, hypertex code is not really processed by THE TeX so what
language is that actually? And any chance that there is a bit more
documentation than that given in util.ht?
Ralf
... from util.ht
% Function names:
%
% The X versions below are used because AXIOM function names that end
% in ``!'' cause problems for makeindex for had-copy.
%
% Example: \spadfunFromX{reverse}{List} prints as reverse!
%
% In the "From" versions, the first arg is function name, second is
constructor
% where exported.
%
% Use the "op" flavors of "-", "+", "*" etc, otherwise the "fun" flavors
\newcommand{\userfun} [1]{{\bf #1}} % example, non-library
function names
\newcommand{\fakeAxiomFun}[1]{{\bf #1}} % not really a library
function
\newcommand{\pspadfun} [1]{\fakeAxiomFun{#1}}
\newcommand{\axiomFun} [1]{\lispdownlink{#1}{(|oPage| '|#1|)}}
\newcommand{\spadfun} [1]{\axiomFun{#1}}
\newcommand{\axiomFunX}[1]{\axiomFun{#1!}}
\newcommand{\spadfunX}[1]{\axiomFun{#1!}}