I'm adding this post on my always favorite list!
I had seen other implementations of algebric data types in Javascript and none was so simple and elegant.
Thank you for the incredible article and high fives for the solution!
When I learned about algebraic data types I checked out a couple of Javascript libraries, but it seemed a bit overkill to use them, so I came up with this implementation.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm adding this post on my always favorite list!
I had seen other implementations of algebric data types in Javascript and none was so simple and elegant.
Thank you for the incredible article and high fives for the solution!
Thanks for your keen words, I appreciate it!
When I learned about algebraic data types I checked out a couple of Javascript libraries, but it seemed a bit overkill to use them, so I came up with this implementation.