-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tutorial on using union-types #33
Comments
I agree, great idea. Quite a few of the examples in functional-frontend-architecture use this library. Granted, they are pretty narrowly focused on modelling actions in the Elm architecture sense, and they don't demonstrate the new features of union-type. But that may be a place to collect some examples. I have a few half-baked projects which use union-type outside of the Elm architecture, I can't say they are more than getting my feet wet, but they may be useful to look at. |
I agree with this as well. Just having such a library is one thing. But figuring out how best to use it is probably not easy unless one has experience in a language with algebraic data types. A tutorial would be a great idea. |
+1 The FSharp blog was also what got me interested in this style of programming, and while I've managed to find this library very useful, my understanding of (functional) type-based design is inferred too much from current capabilities of |
I think there's a lack of info on how to actually apply union types to real problems in js.
I'd like to see something like http://fsharpforfunandprofit.com/series/designing-with-types.html
offered somewhere. I understand if you want that outside the scope of this repo, but I thought I'd open an issue incase you want to make it a wiki or something.
I'd be interested in contributing here.
The text was updated successfully, but these errors were encountered: