Permalink
Browse files

Mark mapcan and mapcon as destructive

Thanks to Harven for reporting this bug.
  • Loading branch information...
1 parent 5cbb6d8 commit 871d37c25b336c9fd702144fc88070be2f7449ad @trebb committed Mar 28, 2012
View
@@ -1,4 +1,4 @@
-# Copyright (C) 2008, 2009, 2010 Bert Burgemeister
+# Copyright (C) 2008, 2009, 2010, 2011 Bert Burgemeister
#
# Permission is granted to copy, distribute and/or modify this
# document under the terms of the GNU Free Documentation License,
View
@@ -1,4 +1,4 @@
-% Copyright (C) 2008, 2009, 2010, 2011 Bert Burgemeister
+% Copyright (C) 2008, 2009, 2010, 2011, 2012 Bert Burgemeister
%
% Permission is granted to copy, distribute and/or modify this
% document under the terms of the GNU Free Documentation License,
@@ -229,7 +229,11 @@ \subsection{Lists}
}
\IT{(\xorGOO{\FU*{MAPCAN}\\
- \FU*{MAPCON}}{\}} \VAR{function} \RP{\VAR{list}})}
+ \FU*{MAPCON}}{\}} \VAR{function} \RP{\VAR{\DES{list}}})}
+ % Example of list argument being modified:
+ % (let ((list '((1 2) (3 4))))
+ % (mapcan #'identity list)
+ % list)
{
Return list of \retval{concatenated return values} of
\VAR{function} successively invoked with corresponding arguments,
@@ -1,4 +1,4 @@
-% Copyright (C) 2008, 2009, 2010, 2011 Bert Burgemeister
+% Copyright (C) 2008, 2009, 2010, 2011, 2012 Bert Burgemeister
%
% Permission is granted to copy, distribute and/or modify this
% document under the terms of the GNU Free Documentation License,
@@ -137,13 +137,14 @@ \subsection{Packages}
}
\IT{(\xorGOO{\FU*{INTERN}\\
- \FU*{FIND-SYMBOL}}{\}} \VAR{foo} \Op{\VAR{package}\DF{\V{\A package\A}}})}
+ \FU*{FIND-SYMBOL}}{\}}
+ \VAR{foo} \Op{\VAR{package}\DF{\V{\A package\A}}})}
{
Intern or find, respectively, symbol \retval{\VAR{foo}} in
\VAR{package}. Second return value is one of
\retvalii{\kwd{:internal}}, \retvalii{\kwd{:external}}, or
\retvalii{\kwd{:inherited}} (or \retvalii{\NIL} if \FU{intern}
- created a fresh symbol).
+ has created a fresh symbol).
}
\IT{(\FU*{UNINTERN} \VAR{symbol} \Op{\VAR{package}\DF{\V{\A package\A}}})}
View
@@ -1,4 +1,4 @@
-% Copyright (C) 2008, 2009, 2010, 2011 Bert Burgemeister
+% Copyright (C) 2008, 2009, 2010, 2011, 2012 Bert Burgemeister
%
% Permission is granted to copy, distribute and/or modify this
% document under the terms of the GNU Free Documentation License,
@@ -226,7 +226,7 @@ \section*{\contentsname}
\hfill
Revision \input{REVISION}
[\input{DATE}\hspace{-.65ex}]}
- \makebox[\textwidth][l]{Copyright \copyright\ 2008, 2009, 2010, 2011
+ \makebox[\textwidth][l]{Copyright \copyright\ 2008, 2009, 2010, 2011, 2012
\AUTHOR\hfill}
\makebox[\textwidth][l]{\LaTeX\ source:
\href{http://clqr.boundp.org}{http://clqr.boundp.org}
@@ -139,7 +139,7 @@
</tr>
<tr>
<td class="footer" colspan="2">
- &copy; 2008 - 2011 &nbsp;
+ &copy; 2008 - 2012 &nbsp;
<a href="mailto:trebbu@googlemail.com?subject=CLQR ">
Bert Burgemeister
</a>
View
@@ -68,7 +68,7 @@
</tr>
<tr>
<td class="footer" colspan="2">
- &copy; 2008 - 2011 &nbsp;
+ &copy; 2008 - 2012 &nbsp;
<a href="mailto:trebbu@googlemail.com?subject=CLQR ">
Bert Burgemeister
</a>
@@ -31,7 +31,7 @@
<td class="content">
<h3>License</h3>
<p>
- Copyright &copy 2008 - 2011 Bert Burgemeister
+ Copyright &copy 2008 - 2012 Bert Burgemeister
<p>
</p>
Permission is granted to copy, distribute and/or modify this
@@ -556,7 +556,7 @@
</tr>
<tr>
<td class="footer" colspan="2">
- &copy; 2008 - 2011 &nbsp;
+ &copy; 2008 - 2012 &nbsp;
<a href="mailto:trebbu@googlemail.com?subject=CLQR ">
Bert Burgemeister
</a>
@@ -67,7 +67,7 @@
</tr>
<tr>
<td class="footer" colspan="2">
- &copy; 2008 - 2011 &nbsp;
+ &copy; 2008 - 2012 &nbsp;
<a href="mailto:trebbu@googlemail.com?subject=CLQR ">
Bert Burgemeister
</a>
@@ -65,7 +65,7 @@
</tr>
<tr>
<td class="footer" colspan="2">
- &copy; 2008 - 2011 &nbsp;
+ &copy; 2008 - 2012 &nbsp;
<a href="mailto:trebbu@googlemail.com?subject=CLQR ">
Bert Burgemeister
</a>

0 comments on commit 871d37c

Please sign in to comment.