summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-11-15 06:21:47 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-11-18 14:26:20 -0800
commitbf07017f8a43070c62979f8c6ac0015d6f6e9b4b (patch)
tree698cb59423ac0a1120ce0e7e416c8b9c63706d34
parent67cb89fc5c5ca0c556c51f8d5149970046135bee (diff)
downloadtxr-bf07017f8a43070c62979f8c6ac0015d6f6e9b4b.tar.gz
txr-bf07017f8a43070c62979f8c6ac0015d6f6e9b4b.tar.bz2
txr-bf07017f8a43070c62979f8c6ac0015d6f6e9b4b.zip
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.
-rw-r--r--txr.119
1 files 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 .