projects
/
platform
/
upstream
/
m4.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.4.17
[platform/upstream/m4.git]
/
examples
/
curry.m4
1
divert(`-1')
2
# curry(macro, args)
3
# Expand to a macro call that takes one argument, then invoke
4
# macro(args, extra).
5
define(`curry', `$1(shift($@,)_$0')
6
define(`_curry', ``$1')')
7
divert`'dnl