# Should I dispatch on singleton types or their instances?

**URL:** <https://discourse.julialang.org/t/should-i-dispatch-on-singleton-types-or-their-instances/28204>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [August 30, 2019, 10:40am UTC](https://discourse.julialang.org/t/should-i-dispatch-on-singleton-types-or-their-instances/28204 "2019-08-30T10:40:45Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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 30, 2019, 12:30pm UTC](https://discourse.julialang.org/t/should-i-dispatch-on-singleton-types-or-their-instances/28204/6 "2019-08-30T12:30:35Z")

</div>

Related: [Singleton types vs. instances as type parameters](https://discourse.julialang.org/t/singleton-types-vs-instances-as-type-parameters/2802)

---

_[View the full topic](https://discourse.julialang.org/t/should-i-dispatch-on-singleton-types-or-their-instances/28204)._
