Name: Anonymous 2017-02-02 10:34
@davetchepak "What can C# do that F# cannot?"
NullReferenceException :-)
Educating the imperative gorillas about sum types:
https://chadaustin.me/2015/07/sum-types/
@davetchepak "What can C# do that F# cannot?"
NullReferenceException :-)
Some(5)
may be a separate branch than Some(x)
, with the second one handling all values of payload x except 5), makes deconstruction of values correspond syntactically and structurally to their construction.