# How to type annotate functions which take functions as args

**URL:** <https://discourse.julialang.org/t/how-to-type-annotate-functions-which-take-functions-as-args/14158>\
**Category:** New to Julia\
**Created:** [August 27, 2018, 10:25pm UTC](https://discourse.julialang.org/t/how-to-type-annotate-functions-which-take-functions-as-args/14158 "2018-08-27T22:25:14Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [August 28, 2018, 4:15am UTC](https://discourse.julialang.org/t/how-to-type-annotate-functions-which-take-functions-as-args/14158/5 "2018-08-28T04:15:11Z")

</div>

A couple of relevant prior discussions, in case you’re interested:

- [Ability to define function templates - #7 by jeff.bezanson](https://discourse.julialang.org/t/ability-to-define-function-templates/4867/7)
- [Function Parameter Speculation #17168 - #7 by jameson](https://discourse.julialang.org/t/function-parameter-speculation-17168/1677/7)
- [Proposal for a first-class dispatch wrapper](https://discourse.julialang.org/t/proposal-for-a-first-class-dispatch-wrapper/1127)

---

_[View the full topic](https://discourse.julialang.org/t/how-to-type-annotate-functions-which-take-functions-as-args/14158)._
