Language.PureScript.CoreImp.Optimizer.Inliner

purescript-0.15.15: PureScript Programming Language Compiler

Safe Haskell | None
Language | Haskell2010

Language.PureScript.CoreImp.Optimizer.Inliner

Description

This module performs basic inlining of known functions

# Documentation

inlineVariables :: AST -> AST #

inlineCommonValues :: (AST -> AST) -> AST -> AST #

inlineCommonOperators :: (AST -> AST) -> AST -> AST #

inlineFnComposition :: MonadSupply m => (AST -> AST) -> AST -> m AST #

inlineFnIdentity :: (AST -> AST) -> AST -> AST #

inlineUnsafeCoerce :: AST -> AST #

inlineUnsafePartial :: AST -> AST #

etaConvert :: AST -> AST #

unThunk :: AST -> AST #

evaluateIifes :: AST -> AST #