Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Fable 3: F# to JavaScript compiler. Parent comment
1. you need a dummy type[2] for empty parts of the union.
2. it still can't enforce exhaustive matching.
[1]: https://stu.dev/pattern-matching-fsharp-union-types-in-cshar...
[2]: Maybe () would work?
There are no comments on this comment yet.
1. you need a dummy type[2] for empty parts of the union.
2. it still can't enforce exhaustive matching.
[1]: https://stu.dev/pattern-matching-fsharp-union-types-in-cshar...
[2]: Maybe () would work?