diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-05-24 06:52:32 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-05-24 06:52:32 -0700 |
commit | 6ba995ca8bcb9e20965fd2c09876eeb44c777f59 (patch) | |
tree | 97ed74206c20e4968c98e3d5cde59c685ea51ea0 /txr.1 | |
parent | 9f72c115e6f1e0aaae69b3e12996412ad1bbeb4d (diff) | |
download | txr-6ba995ca8bcb9e20965fd2c09876eeb44c777f59.tar.gz txr-6ba995ca8bcb9e20965fd2c09876eeb44c777f59.tar.bz2 txr-6ba995ca8bcb9e20965fd2c09876eeb44c777f59.zip |
doc: point out relationship between juxt and callf.
* txr.1: Under callf, give equivalence to juxt.
Also refer to callf from juxt.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -38956,6 +38956,12 @@ implementation: funcs))) .cble +The +.code callf +function generalizes +.code juxt +by allowing the combining function to be specified. + .TP* Example: .cblk @@ -39302,6 +39308,22 @@ arguments: -> ((1 1) (4 4)) .cble +The following equivalence holds between +.code juxt +and +.codn callf : + +.cblk + [juxt f0 f1 f2 ...] <--> [callf list f0 f1 f2 ...]:w +.cble + +Thus, +.code juxt +may be regarded as a specialization of +.code callf +in which the main function is implicitly +.codn list . + .coNP Function @ mapf .synb .mets (mapf < main-function << arg-function *) |