From bf07017f8a43070c62979f8c6ac0015d6f6e9b4b Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 15 Nov 2019 06:21:47 -0800 Subject: doc: inaccurate apf/ipf description. * txr.1: User vapnik spaknik pointed out the poor documentation for apf, which stated that it takes one argument which is a list, when in fact it more generally takes and works with apply-like arguments. --- txr.1 | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/txr.1 b/txr.1 index 35b5080c..dd013a34 100644 --- a/txr.1 +++ b/txr.1 @@ -47532,11 +47532,15 @@ macro. .desc The .code apf -function returns a one-argument function which accepts -a list. When the function is called, it treats the list as -arguments which are applied to +function returns a one-argument function whose argument conventions +are similar to those of the +.code apply +function: it accepts one or more arguments, the last of which should +be a list. When that function is called, it applies these arguments to .meta function -as if by apply. It returns whatever +as if by +.codn apply . +It then returns whatever .meta function returns. @@ -47544,8 +47548,11 @@ The .code ipf function is similar to .codn apf , -except that the returned -function applies arguments as if by +except that the argument conventions of the function returned by +.code ipf +are based on +.codn iapply , +and that function applies arguments as if by .code iapply rather than .codn apply . -- cgit v1.2.3