# SE-0235 - Add Result to the Standard Library

**URL:** <https://forums.swift.org/t/se-0235-add-result-to-the-standard-library/17752>\
**Category:** Proposal Reviews\
**Created:** [November 7, 2018, 10:32pm UTC](https://forums.swift.org/t/se-0235-add-result-to-the-standard-library/17752 "2018-11-07T22:32:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Slava\_Pestov](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/slava_pestov/32/30204_2.png) [@Slava\_Pestov](https://forums.swift.org/u/Slava_Pestov)\
**Post date:** [November 7, 2018, 10:45pm UTC](https://forums.swift.org/t/se-0235-add-result-to-the-standard-library/17752/3 "2018-11-07T22:45:09Z")

</div>

Since Error existentials have a single retainable pointer representation, we should consider making Error self-conforming. It does not have any constructors or static methods and the representation works out so it should be possible to change the type checker to allow this and then it will just work.

As a bonus, in Chris's implementation the `extension Result where Self.Error == Error` can be merged with `extension Result where Self.Error : Error`.

---

_[View the full topic](https://forums.swift.org/t/se-0235-add-result-to-the-standard-library/17752)._
