Skip to content

Commit

Permalink
Document template args
Browse files Browse the repository at this point in the history
Add documentation for remaining template arguments in unaryFun and binaryFun.
  • Loading branch information
jlquinn committed Jun 12, 2014
1 parent 5d202ea commit 24a4d52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion std/functional.d
Expand Up @@ -25,6 +25,7 @@ import std.traits, std.typetuple;
/**
Transforms a string representing an expression into a unary
function. The string must use symbol name $(D a) as the parameter.
Setting $(D parmName) changes the symbol name to use.
If $(D fun) is not a string, $(D unaryFun) aliases itself away to
$(D fun).
Expand Down Expand Up @@ -79,7 +80,8 @@ unittest
/**
Transforms a string representing an expression into a Boolean binary
predicate. The string must use symbol names $(D a) and $(D b) as the
compared elements.
compared elements. Setting $(D parm1Name) and $(D parm2Name) changes the
symbol namesto use.
If $(D fun) is not a string, $(D binaryFun) aliases itself away to
$(D fun).
Expand Down

0 comments on commit 24a4d52

Please sign in to comment.