haskell-names-0.3.1: Name resolution library for Haskell

Safe HaskellNone

Language.Haskell.Names.SyntaxUtils

Synopsis

Documentation

dropAnn :: Functor a => a l -> a ()Source

setAnn :: Functor a => l' -> a l -> a l'Source

opName :: Op l -> Name lSource

getErrors :: (Ord l, Foldable a) => a (Scoped l) -> Set (Error l)Source

moduleExtensionsSource

Arguments

:: Language

base language

-> [Extension]

global extensions

-> Module l 
-> ExtensionSet 

Compute the extension set for the given module, based on the global preferences (e.g. specified on the command line) and module's LANGUAGE pragmas.