purescript-0.5.4: PureScript Programming Language Compiler
Language.PureScript.Optimizer.Common
Description
Common functions used by the various optimizer phases
applyAll :: [a -> a] -> a -> aSource
replaceIdent :: String -> JS -> JS -> JSSource
replaceIdents :: [(String, JS)] -> JS -> JSSource
isReassigned :: String -> JS -> BoolSource
isRebound :: JS -> JS -> BoolSource
isUsed :: String -> JS -> BoolSource
targetVariable :: JS -> StringSource
isUpdated :: String -> JS -> BoolSource
removeFromBlock :: ([JS] -> [JS]) -> JS -> JSSource