From 67c16b43c5d33c2e4b4dfd226b4508d091336373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Catalinas=20Jim=C3=A9nez?= Date: Wed, 15 Feb 2012 04:26:48 +0100 Subject: Fix a code snippet and two typos in the doc --- lib/stdlib/doc/src/ets.xml | 2 +- lib/stdlib/doc/src/lists.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/stdlib') diff --git a/lib/stdlib/doc/src/ets.xml b/lib/stdlib/doc/src/ets.xml index efd9514db6..0486090e92 100644 --- a/lib/stdlib/doc/src/ets.xml +++ b/lib/stdlib/doc/src/ets.xml @@ -671,7 +671,7 @@ ets:is_compiled_ms(Broken). duplicate_bag, the function returns a list of arbitrary length.

Note that the time order of object insertions is preserved; - The first object inserted with the given key will be first + the first object inserted with the given key will be first in the resulting list, and so on.

Insert and look-up times in tables of type set, bag and duplicate_bag are constant, regardless diff --git a/lib/stdlib/doc/src/lists.xml b/lib/stdlib/doc/src/lists.xml index 7042c84437..96a0942710 100644 --- a/lib/stdlib/doc/src/lists.xml +++ b/lib/stdlib/doc/src/lists.xml @@ -663,7 +663,7 @@ splitwith(Pred, List) ->

Returns the sub-list of List1 starting at position 1 and with (max) Len elements. It is not an error for - Len to exceed the length of the list -- in that case + Len to exceed the length of the list, in that case the whole list is returned.

-- cgit v1.2.3