@@ -155,14 +155,12 @@ groupByExpr = unsafeMakeAggregate toPrimExpr fromPrimExpr Nothing
155155
156156-- | Collect expressions values as an array.
157157array1DAggExpr :: NotArray a => Expr a -> Aggregate (Expr (Array1D a))
158−array1DAggExpr = unsafeMakeAggregate toPrimExpr from $ Just
158+array1DAggExpr = unsafeMakeAggregate toPrimExpr fromPrimExpr $ Just
159159 Aggregator
160160 { operation = Opaleye.AggrArr
161161 , ordering = []
162162 , distinction = Opaleye.AggrAll
163163 }
164− where
165− from = fromPrimExpr . fromPrimArray
166164
167165
168166-- | Collect expressions values as a list.