1module Reporting.Warning.CheckMatch where
3import qualified AST.Pattern as Pattern
4import qualified AST.Literal as Literal
5import qualified Data.Set as Set
6import qualified AST.Variable as Var
11 | Alias String (Pat var)
14 | Literal Literal.Literal
15 -- It's a shame that I had to replicate the entire pattern type, but it's
16 -- essential to have this constructor.
17 | AnythingBut (Set.Set Literal.Literal)
24 = Redundant Pattern.CanonicalPattern
25 -- The argument is the list of patterns that would have to
26 -- be added for the case expression to be exhaustive.
27 | Inexhaustive [CanonicalPat]
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list