haskell-names-0.5.0: Name resolution library for Haskell

Safe HaskellNone
LanguageHaskell2010

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 l Source

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

moduleExtensions Source

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.