Define ifThenElse for Indigo
Clarification and motivation
RebindableSyntax
extension allows to define custom ifThenElse
that is used by if then else
Haskell construction. We already do it for Lorentz (see Lorentz.Rebinded
) and I think we can exploit it for Indigo as well.
Acceptance criteria
It should be possible to write if a then x else y
in Indigo where IsExpr a Bool
holds.