1module Nitpick.Pattern where
3import qualified AST.Pattern as P
4import qualified AST.Variable as Var
8 = Data Var.Canonical [Pattern]
10 | Alias String Pattern
13 | Literal Literal.Literal
14 | AnythingBut (Set.Set Literal.Literal)
18fromPattern :: P.CanonicalPattern -> Pattern
19fromPattern (Annotation.A _region pattern) =
21 P.Data ctor patterns ->
22 Data ctor (map fromPattern patterns)
27 P.Alias name pattern ->
28 Alias name (fromPattern pattern)
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