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 | 6bea8ebd49c71734fa5b212fe5baada74da15eef (patch) | |
tree | 97ed74206c20e4968c98e3d5cde59c685ea51ea0 | |
parent | f8188fab4e3bf3c7e3be06da1efc8fd9b5dbbd91 (diff) | |
download | txr-6bea8ebd49c71734fa5b212fe5baada74da15eef.tar.gz txr-6bea8ebd49c71734fa5b212fe5baada74da15eef.tar.bz2 txr-6bea8ebd49c71734fa5b212fe5baada74da15eef.zip |
doc: point out relationship between juxt and callf.
* txr.1: Under callf, give equivalence to juxt.
Also refer to callf from juxt.
-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 *) |