# Let Optional, Dictionary and Array conditionally conform to Hashable

**URL:** <https://forums.swift.org/t/let-optional-dictionary-and-array-conditionally-conform-to-hashable/9046>\
**Category:** Pitches\
**Created:** [January 26, 2018, 8:18pm UTC](https://forums.swift.org/t/let-optional-dictionary-and-array-conditionally-conform-to-hashable/9046 "2018-01-26T20:18:50Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![saagarjha](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@saagarjha](https://forums.swift.org/u/saagarjha)\
**Post date:** [January 27, 2018, 12:13am UTC](https://forums.swift.org/t/let-optional-dictionary-and-array-conditionally-conform-to-hashable/9046/3 "2018-01-27T00:13:25Z")

</div>

I'm on board for [`Optional`](https://forums.swift.org/t/pitch-conditionally-conform-optional-sequence-where-wrapped-sequence/7733/2) and `Array`, but when would `Dictionary` conform? When both its `Key`s and `Value`s are `Hashable`?

---

_[View the full topic](https://forums.swift.org/t/let-optional-dictionary-and-array-conditionally-conform-to-hashable/9046)._
