![]() 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)] ``` |
||
---|---|---|
.github | ||
aikup | ||
crates | ||
examples | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
flake.lock | ||
flake.nix |
README.md
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.