Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data Definition Source #
Constant !Qualified !Int (Scope Int Type Void) (Expression Void) | |
Type !Qualified !Int [(Constructor, [Scope Int Type Void])] | |
Alias !Qualified !Int (Scope Int Type Void) |
Instances
Show Definition Source # | |
Defined in Language.Elm.Definition showsPrec :: Int -> Definition -> ShowS # show :: Definition -> String # showList :: [Definition] -> ShowS # | |
Eq Definition Source # | |
Defined in Language.Elm.Definition (==) :: Definition -> Definition -> Bool # (/=) :: Definition -> Definition -> Bool # | |
Ord Definition Source # | |
Defined in Language.Elm.Definition compare :: Definition -> Definition -> Ordering # (<) :: Definition -> Definition -> Bool # (<=) :: Definition -> Definition -> Bool # (>) :: Definition -> Definition -> Bool # (>=) :: Definition -> Definition -> Bool # max :: Definition -> Definition -> Definition # min :: Definition -> Definition -> Definition # |
name :: Definition -> Qualified Source #
foldMapGlobals :: Monoid m => (Qualified -> m) -> Definition -> m Source #