Re:Idioms of Dynamic Languages
by doomrobo on Tuesday July 03, 2018 @04:11PM
(#17453288)
This is called irrefutable pattern matching in Rust terminology. Haskell actually doesn't enforce this at compile time. Consider the program
This compiles without warning and gives the error at runtime:
[ Parent
| on HN ]
There are no comments on this comment yet.