From 14cb5835e5ecb14be8ecc6ac2a6811e4bb143354 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 18 Jul 2022 06:46:44 -0700 Subject: doc: pos function. * txr.1: Improve unclear wording describing pos function. --- txr.1 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/txr.1 b/txr.1 index cfd0c31f..09312ed2 100644 --- a/txr.1 +++ b/txr.1 @@ -34559,15 +34559,19 @@ to If this argument is omitted, then the .code equal function is used. -The position of the first element +The +.code pos +function returns the position of the first element of .meta sequence whose comparison key (as retrieved by .metn keyfun ) -matches the search (under -.metn testfun ) -is -returned. If no such element is found, +matches +.metn key , +as compared by the +.meta testfun +function. +If no such element is found, .code nil is returned. -- cgit v1.2.3