1{-# OPTIONS_GHC -Wall #-}
2{-# LANGUAGE OverloadedStrings #-}
7 , Scheme(..), SchemeName
12import qualified Data.Map.Strict as Map
13import Data.Text (Text)
15import qualified Reporting.Annotation as A
16import qualified Reporting.Error.Type as Error
17import qualified Reporting.Region as R
18import Type.Type (Type(VarN), Variable, mkFlexVar, mkFlexNumber)
28 | CEqual Error.Hint R.Region Type Type
30 | CLet [Scheme] Constraint
31 | CInstance R.Region SchemeName Type
43 { _rigidQuantifiers :: [Variable]
44 , _flexibleQuantifiers :: [Variable]
45 , _constraint :: Constraint
46 , _header :: Map.Map Text (A.Located Type)
54monoscheme :: Map.Map Text (A.Located Type) -> Scheme
56 Scheme [] [] CTrue headers
66(/\) :: Constraint -> Constraint -> Constraint
74-- ex qs constraint == exists qs. constraint
75ex :: [Variable] -> Constraint -> Constraint
77 CLet [Scheme [] fqs constraint Map.empty] CTrue
80forall :: [Variable] -> Constraint -> Constraint
81forall rqs constraint =
82 CLet [Scheme rqs [] constraint Map.empty] CTrue
85exists :: (Type -> IO Constraint) -> IO Constraint
91existsNumber :: (Type -> IO Constraint) -> IO 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