From 875b58c8119858676af0139b0f6b69537cae5706 Mon Sep 17 00:00:00 2001 From: Hans Svensson Date: Wed, 22 Jan 2014 22:10:44 +0100 Subject: Added documentation of lists:droplast/1 --- lib/stdlib/doc/src/lists.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/stdlib/doc') diff --git a/lib/stdlib/doc/src/lists.xml b/lib/stdlib/doc/src/lists.xml index 16f81bdba1..9c7cef066b 100644 --- a/lib/stdlib/doc/src/lists.xml +++ b/lib/stdlib/doc/src/lists.xml @@ -122,6 +122,14 @@ element.

+ + + Drop the last element of a list + +

Drops the last element of a List. The list should + be non-empty, otherwise the function will crash with a function_clause

+
+
Drop elements from a list while a predicate is true -- cgit v1.2.3