habs

Safe HaskellNone
LanguageHaskell98

ABS.Compiler.Utils

Synopsis

Documentation

appendL :: L -> String -> L Source #

lineQU :: QU -> Int Source #

lineQA :: QA -> Int Source #

headToLower :: String -> String Source #

Used for turning an ABS type variable (e.g. A,B,DgFx) to HS type variable (a,b,dgFx)

errorPos :: (Int, Int) -> String -> a Source #

Querying a statement AST

warnPos :: (Int, Int) -> String -> a -> a Source #

freshTyVar :: U Source #

Empty source-location. Use instead of noLoc which has problem when pretty-printing with LINE pragmas enabled.