|
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
| type Version = Int |
|
| bumpVersion :: Version -> Version |
|
| initialVersion :: Version |
|
| type Arity = Int |
|
| data WarningTxt |
| Constructors | | Instances | |
|
|
| data Fixity |
| Constructors | | Instances | |
|
|
| data FixityDirection |
| Constructors | | Instances | |
|
|
| defaultFixity :: Fixity |
|
| maxPrecedence :: Int |
|
| funTyFixity :: Fixity |
|
| compareFixity :: Fixity -> Fixity -> (Bool, Bool) |
|
| newtype IPName name |
| Constructors | | Instances | |
|
|
| ipNameName :: IPName name -> name |
|
| mapIPName :: (a -> b) -> IPName a -> IPName b |
|
| data RecFlag |
| Constructors | | Instances | |
|
|
| isRec :: RecFlag -> Bool |
|
| isNonRec :: RecFlag -> Bool |
|
| boolToRecFlag :: Bool -> RecFlag |
|
| type RuleName = FastString |
|
| data TopLevelFlag |
| Constructors | | Instances | |
|
|
| isNotTopLevel :: TopLevelFlag -> Bool |
|
| data OverlapFlag |
| Constructors | | NoOverlap | | | OverlapOk | | | Incoherent | |
| Instances | |
|
|
| data Boxity |
| Constructors | | Instances | |
|
|
| isBoxed :: Boxity -> Bool |
|
| data TupCon |
| Constructors | | Instances | |
|
|
| tupleParens :: Boxity -> SDoc -> SDoc |
|
| data OccInfo |
| Identifier occurrence information
| | Constructors | | NoOccInfo | There are many occurrences, or unknown occurences
| | IAmDead | Marks unused variables. Sometimes useful for
lambda and case-bound variables.
| | OneOcc !InsideLam !OneBranch !InterestingCxt | Occurs exactly once, not inside a rule
| | IAmALoopBreaker !RulesOnly | This identifier breaks a loop of mutually recursive functions. The field
marks whether it is only a loop breaker due to a reference in a rule
|
| Instances | |
|
|
| seqOccInfo :: OccInfo -> () |
|
| isFragileOcc :: OccInfo -> Bool |
|
| isOneOcc :: OccInfo -> Bool |
|
| isDeadOcc :: OccInfo -> Bool |
|
| isLoopBreaker :: OccInfo -> Bool |
|
| isNonRuleLoopBreaker :: OccInfo -> Bool |
|
| isNoOcc :: OccInfo -> Bool |
|
| type InsideLam = Bool |
|
| notInsideLam :: InsideLam |
|
| type OneBranch = Bool |
|
| notOneBranch :: OneBranch |
|
| type InterestingCxt = Bool |
|
| data EP a |
|
|
| data StrictnessMark |
| Constructors | | MarkedStrict | | | MarkedUnboxed | | | NotMarkedStrict | |
| Instances | |
|
|
| isMarkedUnboxed :: StrictnessMark -> Bool |
|
| isMarkedStrict :: StrictnessMark -> Bool |
|
| type CompilerPhase = Int |
|
| data Activation |
| Constructors | | Instances | |
|
|
| isActive :: CompilerPhase -> Activation -> Bool |
|
| isAlwaysActive :: Activation -> Bool |
|
| data InlineSpec |
| Constructors | | Instances | |
|
|
| alwaysInlineSpec :: InlineSpec |
|
| data SuccessFlag |
| Constructors | | Instances | |
|
|
| failed :: SuccessFlag -> Bool |
|
| successIf :: Bool -> SuccessFlag |
|
| Produced by Haddock version 2.3.0 |