Copyright | (c) Mateusz Kłoczko 2016 |
---|---|
License | MIT |
Maintainer | mateusz.p.kloczko@gmail.com |
Stability | experimental |
Portability | GHC-only |
Safe Haskell | None |
Language | Haskell2010 |
Various helping functions.
Documentation
getIdsBind :: CoreBind -> [Id] Source #
Get ids from core bind.
getExprsBind :: CoreBind -> [CoreExpr] Source #
Get all expressions from a binding.
getIdsExprsBind :: CoreBind -> [(Id, CoreExpr)] Source #
Get both identifiers and expressions from a binding.
getIdsExpr :: CoreExpr -> [Id] Source #
Get all IDs from CoreExpr