Replies: 3 comments 2 replies
-
Hello @mindlid and welcome to our little community, and thanks for the question :) We currently do not have support for union types, just plain old algebraic data types. In the future, we are looking into a completely new approach to algebraic data types / union types, but I cannot say much more since its research and still on the drawing board. Ill update this ticket once there is more information. |
Beta Was this translation helpful? Give feedback.
-
You would perhaps be interested to know that we do support extensible records: https://doc.flix.dev/records.html |
Beta Was this translation helpful? Give feedback.
-
Thanks for the kind words. Let us know if you have more questions. |
Beta Was this translation helpful? Give feedback.
-
Are there support for union types, like Scala, F# and Typescript?
Beta Was this translation helpful? Give feedback.
All reactions