Skip to content

Commit

Permalink
wrap_fcall
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Feb 10, 2020
1 parent 4f471f5 commit 7a101b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/fexpr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,8 @@ function unwrap_fcall(fcall::Expr)
return f, args
end

function wrap_fcall(f, args)
fcall = :($f($((args)...)))
return fcall
end
################################################################

0 comments on commit 7a101b2

Please sign in to comment.