I think most folks will want to to ignore infixNon (as discussed on chat w/Rupert). Also, it's probably intuitive to have the params in the order that you most naturally write code.
Here's my helper to demonstrate:
binOp expr1 op expr2 =
-- CG.infixNon may be deprecated eventually
CG.opApply op CG.infixNon expr1 expr2
I think most folks will want to to ignore
infixNon
(as discussed on chat w/Rupert). Also, it's probably intuitive to have the params in the order that you most naturally write code.Here's my helper to demonstrate: