From 90b3eb809e0c399593c741b2281d89498e87b147 Mon Sep 17 00:00:00 2001 From: Kostis Sagonas Date: Mon, 17 Dec 2012 11:09:15 +0100 Subject: Ensure that edocumentation and the xml file are in sync --- lib/stdlib/doc/src/proplists.xml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'lib/stdlib/doc') diff --git a/lib/stdlib/doc/src/proplists.xml b/lib/stdlib/doc/src/proplists.xml index 225c5e97eb..8d64319344 100644 --- a/lib/stdlib/doc/src/proplists.xml +++ b/lib/stdlib/doc/src/proplists.xml @@ -70,7 +70,7 @@

Minimizes the representation of all entries in the list. This is - equivalent to .

+ equivalent to .

See also: property/1, unfold/1.

@@ -88,11 +88,11 @@

Expands particular properties to corresponding sets of properties (or other terms). For each pair {Property, Expansion} in Expansions, if E is - the first entry in List with the same key as + the first entry in ListIn with the same key as Property, and E and Property have equivalent normal forms, then E is replaced with the terms in Expansion, and any following entries with - the same key are deleted from List.

+ the same key are deleted from ListIn.

For example, the following expressions all return [fie, bar, baz, fum]:

expand([{foo, [bar, baz]}], @@ -198,7 +198,7 @@ -

Passes List through a sequence of +

Passes ListIn through a sequence of substitution/expansion stages. For an aliases operation, the function substitute_aliases/2 is applied using the given list of aliases; for a negations operation, @@ -221,9 +221,9 @@

Creates a normal form (minimal) representation of a property. If - Property is {Key, true} where Key is - an atom, this returns Key, otherwise the whole term - Property is returned.

+ PropertyIn is {Key, true} where + Key is an atom, this returns Key, otherwise + the whole term PropertyIn is returned.

See also: property/2.

@@ -260,7 +260,7 @@

Substitutes keys of properties. For each entry in - List, if it is associated with some key K1 + ListIn, if it is associated with some key K1 such that {K1, K2} occurs in Aliases, the key of the entry is changed to K2. If the same K1 occurs more than once in Aliases, only @@ -278,13 +278,13 @@

Substitutes keys of boolean-valued properties and simultaneously negates their values. For each entry in - List, if it is associated with some key K1 + ListIn, if it is associated with some key K1 such that {K1, K2} occurs in Negations, then if the entry was {K1, true} it will be replaced with {K2, false}, otherwise it will be replaced with {K2, true}, thus changing the name of the option and simultaneously negating the value given by - get_bool(List). If the same K1 occurs more + get_bool(ListIn). If the same K1 occurs more than once in Negations, only the first occurrence is used.

Example: substitute_negations([{no_foo, foo}], L) @@ -300,7 +300,7 @@ -

Unfolds all occurrences of atoms in List to tuples +

Unfolds all occurrences of atoms in ListIn to tuples {Atom, true}.

-- cgit v1.2.3