~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/stdlib/doc/src/lists.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2010-03-09 17:34:57 UTC
  • mfrom: (10.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100309173457-4yd6hlcb2osfhx31
Tags: 1:13.b.4-dfsg-3
Manpages in section 1 are needed even if only arch-dependent packages are
built. So, re-enabled them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
<erlref>
5
5
  <header>
6
6
    <copyright>
7
 
      <year>1996</year><year>2009</year>
 
7
      <year>1996</year><year>2010</year>
8
8
      <holder>Ericsson AB. All Rights Reserved.</holder>
9
9
    </copyright>
10
10
    <legalnotice>
13
13
      compliance with the License. You should have received a copy of the
14
14
      Erlang Public License along with this software. If not, it can be
15
15
      retrieved online at http://www.erlang.org/.
16
 
    
 
16
 
17
17
      Software distributed under the License is distributed on an "AS IS"
18
18
      basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
19
19
      the License for the specific language governing rights and limitations
20
20
      under the License.
21
 
    
 
21
 
22
22
    </legalnotice>
23
23
 
24
24
    <title>lists</title>
30
30
  <module>lists</module>
31
31
  <modulesummary>List Processing Functions</modulesummary>
32
32
  <description>
33
 
    <p>This module contains functions for list processing. The functions
34
 
      are organized in two groups: those in the first group perform a
35
 
      particular operation on one or more lists, whereas those in the
36
 
      second group are higher-order functions, using a fun as argument
37
 
      to perform an operation on one list.</p>
 
33
    <p>This module contains functions for list processing.</p>
 
34
 
38
35
    <p>Unless otherwise stated, all functions assume that position
39
36
      numbering starts at 1. That is, the first element of a list is at
40
37
      position 1.</p>
41
38
 
 
39
    <p>Two terms <c>T1</c> and <c>T2</c> compare equal if
 
40
      <c>T1&nbsp;==&nbsp;T2</c> evaluates to <c>true</c>. They match
 
41
      if <c>T1&nbsp;=:=&nbsp;T2</c> evaluates to <c>true</c>.</p>
 
42
 
42
43
    <p>Whenever an <marker
43
44
      id="ordering_function"></marker><em>ordering function</em>
44
45
      <c>F</c> is expected as argument, it is assumed that the