purescript-0.8.1.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell98

Language.PureScript.CodeGen.JS.Optimizer.Common

Description

Common functions used by the various optimizer phases

Documentation

applyAll :: [a -> a] -> a -> a Source

removeFromBlock :: ([JS] -> [JS]) -> JS -> JS Source