Replies: 2 comments
-
On a topic related to enums and matching, I think there is a possibility to improve on how algebraic data types work in BorrowScript compared to TypeScript, please see microsoft/TypeScript#36336. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The suggested syntax looks very much not like JS, and what's the difference
between this and mix-ins/inheritance?
…On Fri, Oct 1, 2021, 7:21 AM Artem Tyurin ***@***.***> wrote:
On a topic related to enums and matching, I think there is a possibility
to improve on how algebraic data types work in BorrowScript compared to
TypeScript, please see microsoft/TypeScript#36336
<microsoft/TypeScript#36336>.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGDQCMRG75MEB3UWMUWWH2DUEWKSTANCNFSM5FBLFCKQ>
.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
TypeScript has enums with assignable values. In this context how would we support Rust-like enum matching capabilities
Beta Was this translation helpful? Give feedback.
All reactions