Functor and Applicative instances for ExprArr