1{-# OPTIONS_GHC -Wall #-}
2{-# LANGUAGE OverloadedStrings #-}
12import qualified Data.Map.Strict as Map
14import qualified AST.Canonical as Can
15import qualified Elm.Name as N
16import qualified Reporting.Annotation as A
17import qualified Reporting.Error.Type as Error
18import qualified Reporting.Region as R
19import Type.Type (Type, Variable)
29 | CEqual R.Region Error.Context Error.Category R.Region Type Type
30 | CLookup R.Region Error.Context R.Region N.Name Type
31 | CInstance R.Region Error.Context R.Region Can.Type Type
32 | CPattern R.Region Error.PatternContext Error.PatternCategory R.Region Type Type
34 | CLet [Scheme] Constraint
43 { _rigidVars :: [Variable]
44 , _flexVars :: [Variable]
45 , _header :: Map.Map N.Name (A.Located Type)
46 , _constraint :: Constraint
54monoscheme :: Map.Map N.Name (A.Located Type) -> Scheme
56 Scheme [] [] headers CTrue
63-- ex qs constraint == exists qs. constraint
64ex :: [Variable] -> Constraint -> Constraint
65ex flexVars constraint =
67 [ Scheme [] flexVars Map.empty constraint
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