# \`Result\` Algebraic Data Type Proposal

**URL:** <https://es.discourse.group/t/result-algebraic-data-type-proposal/1240>\
**Category:** 💡 Ideas\
**Tags:** proposal\
**Created:** [March 5, 2022, 9:57pm UTC](https://es.discourse.group/t/result-algebraic-data-type-proposal/1240 "2022-03-05T21:57:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![supermacro](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/supermacro/32/1264_2.png) [@supermacro](https://es.discourse.group/u/supermacro)\
**Post date:** [March 5, 2022, 10:27pm UTC](https://es.discourse.group/t/result-algebraic-data-type-proposal/1240/2 "2022-03-05T22:27:39Z")

</div>

Related thread. An Option type is a cousin of the Result Type:

> [@Optional Typing](https://es.discourse.group/t/optional-typing/1137):
>
> Is there any hope of optional typing landing in ecmascript in future? Checking arguments at top of scope in functions, methods and constructors is getting really boring. It could even open the door to allow ecmascript to be a reasonable option for writing wasm.

---

_[View the full topic](https://es.discourse.group/t/result-algebraic-data-type-proposal/1240)._
