Document copy composite using stack_foreach and curry.
commitd57af1812ef0a22dd4c40e36c1da2770515dc75b
authorEric Blake <ebb9@byu.net>
Wed, 26 Nov 2008 13:59:27 +0000 (26 06:59 -0700)
committerEric Blake <ebb9@byu.net>
Wed, 26 Nov 2008 18:11:07 +0000 (26 11:11 -0700)
treef5e6980d63b9a0657a8f0c0aa09c62546f26b3b0
parent4d5741bdd992359d147b491ccded2d65c887425d
Document copy composite using stack_foreach and curry.

* doc/m4.texinfo (Stacks): New node, to document pushdef stack
manipulation.
(Ifelse): Move define_blind...
(Composition): ...to this new node.  Document currying, then use
it to implement copy and rename.
* examples/curry.m4: New file.
* examples/stack.m4: Likewise.
* Makefile.am (dist_pkgdata_DATA): Distribute them.

Signed-off-by: Eric Blake <ebb9@byu.net>
(cherry picked from commit cacb2125cc8d3e14dfdcc24260d2daf2a7684640)
ChangeLog
Makefile.am
doc/m4.texinfo
examples/curry.m4 [new file with mode: 0644]
examples/stack.m4 [new file with mode: 0644]