Safe Haskell | None |
---|---|
Language | Haskell2010 |
Defines simplification functions for PrimExp
s.
Synopsis
- simplifyPrimExp :: SimplifiableLore lore => PrimExp VName -> SimpleM lore (PrimExp VName)
- simplifyExtPrimExp :: SimplifiableLore lore => PrimExp (Ext VName) -> SimpleM lore (PrimExp (Ext VName))
Documentation
simplifyPrimExp :: SimplifiableLore lore => PrimExp VName -> SimpleM lore (PrimExp VName) Source #
simplifyExtPrimExp :: SimplifiableLore lore => PrimExp (Ext VName) -> SimpleM lore (PrimExp (Ext VName)) Source #
Like simplifyPrimExp
, but where leaves may be Ext
s.