Some useful operations to support selection of AbstractCurry expressions via deep pattern matching.
withExp
:: CExpr -> CExpr
Returns (non-deterministically) some expression that contains the given expression as a subexpression. |
cfunWithExp
:: (String,String) -> CExpr -> CFuncDecl
Returns (non-deterministically) a function declaration containing the given expression in the right-hand side. |
Returns (non-deterministically) some expression that contains the given expression as a subexpression. |
Returns (non-deterministically) a function declaration containing the given expression in the right-hand side. |