CSE

ghc-8.6.3: The GHC API

Safe Haskell | None
Language | Haskell2010

CSE

Synopsis

- cseProgram :: CoreProgram -> CoreProgram
- cseOneExpr :: InExpr -> OutExpr

# Documentation

cseProgram :: CoreProgram -> CoreProgram #

cseOneExpr :: InExpr -> OutExpr #

Runs CSE on a single expression.

This entry point is not used in the compiler itself, but is provided as a convenient entry point for users of the GHC API.