Make HsIParamTy have a Located HsIPName
[ghc.git] / utils / mkUserGuidePart / Types.hs
1 module Types where
2
3 data FlagType = StaticFlag
4 -- ^ Static flag
5 | DynamicFlag
6 -- ^ Dynamic flag
7 | DynamicSettableFlag
8 -- ^ Dynamic flag on which @:set@ can be used in GHCi
9 | ModeFlag
10 -- ^ A mode of execution (e.g. @--mode@)
11
12 data Flag = Flag { flagName :: String
13 , flagDescription :: String
14 , flagType :: FlagType
15 , flagReverse :: String
16 , flagSince :: String
17 }
18
19 flag :: Flag
20 flag = Flag "" "" DynamicFlag "" ""