Timeline for How do you encode Algebraic Data Types in a C#- or Java-like language?
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 18, 2015 at 17:07 | comment | added | Jörg W Mittag | Interesting approach, very nice! I can see the connection to F# Active Patterns and Scala Extractors (and there's probably a link there to Haskell Views as well, which I know nothing about, unfortunately). I hadn't thought of moving the responsibility for pattern matching over the data constructors into the ADT instance itself. | |
| Oct 18, 2015 at 15:01 | history | answered | jameshfisher | CC BY-SA 3.0 |