# pass a funtion(with function signature) as an argument

**URL:** https://discourse.julialang.org/t/pass-a-funtion-with-function-signature-as-an-argument/23744
**Category:** New to Julia
**Created:** [May 1, 2019, 6:32pm UTC](https://discourse.julialang.org/t/pass-a-funtion-with-function-signature-as-an-argument/23744 "2019-05-01T18:32:11Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)
#### Post date: [May 1, 2019, 6:38pm UTC](https://discourse.julialang.org/t/pass-a-funtion-with-function-signature-as-an-argument/23744/2 "2019-05-01T18:38:50Z")

</div>

You can’t. You can only pass generic functions which can have several methods. However, the call `goo(a, 10)` will pick the appropriate method of `goo` (or error if there is none). So you should be ok.

Jeff’s thesis is a good read: [phdthesis/main.pdf at master · JeffBezanson/phdthesis · GitHub](https://github.com/JeffBezanson/phdthesis/blob/master/main.pdf).

PS: check out [PSA: how to quote code with backticks](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530) and welcome!

---

_[View the full topic](https://discourse.julialang.org/t/pass-a-funtion-with-function-signature-as-an-argument/23744)._
