4f7f39292d2e3921dab61b47cd53cbc2725af383
When rendering missing or redundant patterns, linked-list would wrongly suggest the last nil constructor as a pattern on non-empty list. For example, before this commit, the exhaustivness checker would yield: ``` [(_, True), []] ``` as a suggestion, for being the result of being a list pattern with a single argument being `(_, True) :: Nil`. Blindly following the compiler suggestion here would cause a type unification error (since `[]` doesn't unify with a 2-tuple). Indeed, we mustn't render the Nil constructor when rendering non-empty lists! So the correct suggestion should be: ``` [(_, True)] ```
Installation
How to use
For more information please see the user manual.
Contributing
Want to contribute? See CONTRIBUTING.md to know how.
Note
The name comes from Howard Aiken, an American physicist and a pioneer in computing.
Stats
Description
Languages
Rust
96.6%
JavaScript
1.1%
HTML
1%
CSS
0.9%
Shell
0.3%
Other
0.1%

