module-management-0.17.2: Clean up module imports, split and merge modules

Safe HaskellSafe-Inferred

Language.Haskell.Modules.Util.Symbols

Synopsis

Documentation

class FoldDeclared a whereSource

Do a fold over the names that are declared in a declaration (not every name that appears, just the ones that the declaration is causing to exist - what's the word for that? Reify!)

Methods

foldDeclared :: forall r. (Maybe Name -> r -> r) -> r -> a -> rSource

class FoldMembers a whereSource

Fold over the declared members - e.g. the method names of a class declaration, the constructors of a data declaration.

Methods

foldMembers :: forall r. (Maybe Name -> r -> r) -> r -> a -> rSource

Instances