@@ -155,14 +155,12 @@ groupByExpr = unsafeMakeAggregate toPrimExpr fromPrimExpr Nothing
156-- | Collect expressions values as an array.
156-- | Collect expressions values as an array.
157array1DAggExpr :: NotArray a => Expr a -> Aggregate (Expr (Array1D a))
157array1DAggExpr :: NotArray a => Expr a -> Aggregate (Expr (Array1D a))
158−array1DAggExpr = unsafeMakeAggregate toPrimExpr from $ Just
158+array1DAggExpr = unsafeMakeAggregate toPrimExpr fromPrimExpr $ Just
159 Aggregator
159 Aggregator
160 { operation = Opaleye.AggrArr
160 { operation = Opaleye.AggrArr
161 , ordering = []
161 , ordering = []
162 , distinction = Opaleye.AggrAll
162 , distinction = Opaleye.AggrAll
165− from = fromPrimExpr . fromPrimArray
168-- | Collect expressions values as a list.
166-- | Collect expressions values as a list.