1{-# OPTIONS_GHC -Wall #-}
3 ( Centralized(..), Checked(..)
4 , Value(..), RawValue, GoodValue
5 , Alias(..), RawAlias, GoodAlias
6 , Union(..), RawUnion, GoodUnion
11import qualified Data.Map as Map
12import Data.Text (Text)
14import qualified Elm.Compiler.Type as Type
15import qualified Reporting.Annotation as A
25 , values :: Map.Map Text (A.Located RawValue)
26 , aliases :: Map.Map Text (A.Located RawAlias)
27 , unions :: Map.Map Text (A.Located RawUnion)
34 , _values :: Map.Map Text GoodValue
35 , _aliases :: Map.Map Text GoodAlias
36 , _unions :: Map.Map Text GoodUnion
44data Value comment tipe =
46 { valueComment :: comment
48 , valueAssocPrec :: Maybe (Text,Int)
52type RawValue = Value (Maybe Text) (Maybe Type.Type)
55type GoodValue = Value Text Type.Type
64 { aliasComment :: comment
66 , aliasType :: Type.Type
70type RawAlias = Alias (Maybe Text)
73type GoodAlias = Alias Text
82 { unionComment :: comment
84 , unionCases :: [(Text, [Type.Type])]
88type RawUnion = Union (Maybe Text)
91type GoodUnion = Union Text
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