File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -335,9 +335,10 @@ true
335335
336336It is also possible to create a ` FunctionTerm ` programmatically, matching the
337337behavior of what happens when a call to a function like ` log ` is encountered
338- inside the ` @formula ` macro, although it takes a bit of care to get right. In
339- the future we may add more convenience methods to "lift" functions into the
340- "term domain" but for now they must be constructed manually, like so:
338+ inside the ` @formula ` macro. Functions with unambiguous method dispatch (in particular:
339+ functions with a single input argument) can be constructed manually as follows; functions
340+ with multiple input arguments, or otherwise more complicated method dispatch,
341+ require a different approach which is explained in the [ extensions section] (@ref Internals-and-extending-the-formula-DSL).
341342
342343``` jldoctest 1
343344julia> log_term(t::AbstractTerm) = FunctionTerm(log, [t], :(log($(t))))
You can’t perform that action at this time.
0 commit comments