From 78d2960d16c3ff5a167e948602c77496b62af559 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Fri, 23 Oct 2009 23:21:42 +0100 Subject: [PATCH] bad doc on nth/4 (obs from Daniel Diaz) --- docs/yap.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/yap.tex b/docs/yap.tex index 0a4082f5b..40e9e5f71 100644 --- a/docs/yap.tex +++ b/docs/yap.tex @@ -8703,7 +8703,7 @@ Unifies @var{Elem} with the Nth element of @var{List}, counting from 1, and @var{Rest} with the other elements. It can be used to select the Nth element of @var{List} (yielding @var{Elem} and @var{Rest}), or to insert @var{Elem} before the Nth (counting from 1) element of -@var{Rest}, when it yields @var{List}, e.g. @code{nth(1, List, c, +@var{Rest}, when it yields @var{List}, e.g. @code{nth(3, List, c, [a,b,d,e])} unifies List with @code{[a,b,c,d,e]}. @code{nth/4} can be used to insert @var{Elem} after the Nth element of @var{Rest}.