Skip to content

Commit 7a101b2

Browse files
committed
wrap_fcall
1 parent 4f471f5 commit 7a101b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/fexpr.jl

+5
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,8 @@ function unwrap_fcall(fcall::Expr)
116116
return f, args
117117
end
118118

119+
function wrap_fcall(f, args)
120+
fcall = :($f($((args)...)))
121+
return fcall
122+
end
123+
################################################################

0 commit comments

Comments
 (0)