purescript-0.11.5: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.CoreImp.Optimizer.Common

Description

Common functions used by the various optimizer phases

Documentation

applyAll :: [a -> a] -> a -> a #

replaceIdents :: [(Text, AST)] -> AST -> AST #

isUsed :: Text -> AST -> Bool #

removeFromBlock :: ([AST] -> [AST]) -> AST -> AST #

isDict' :: [(Text, PSString)] -> AST -> Bool #