liquidhaskell-boot-0.9.10.1.2: Liquid Types for Haskell
Safe HaskellNone
LanguageHaskell98

Liquid.GHC.API.Extra

Synopsis

Documentation

data ApiComment Source #

Abstraction of EpaComment.

Instances

Instances details
Show ApiComment Source # 
Instance details

Defined in Liquid.GHC.API.Extra

Eq ApiComment Source # 
Instance details

Defined in Liquid.GHC.API.Extra

addNoInlinePragmasToBinds :: TcGblEnv -> TcGblEnv Source #

Adds NOINLINE pragmas to all bindings in the module.

This prevents the simple optimizer from inlining such bindings which might have specs that would otherwise be left dangling.

https://gitlab.haskell.org/ghc/ghc/-/issues/24386

apiComments :: HsParsedModule -> [Located ApiComment] Source #

Extract top-level comments from a module.

directImports :: TcGblEnv -> [Module] Source #

Extracts the direct imports of a module.

isPatErrorAlt :: CoreAlt -> Bool Source #

Tells if a case alternative calls to patError