Safe Haskell | None |
---|---|
Language | Haskell2010 |
Opaleye.Internal.Binary
Documentation
extractBinaryFields :: Tag -> (PrimExpr, PrimExpr) -> PM [(Symbol, (PrimExpr, PrimExpr))] PrimExpr Source #
newtype Binaryspec fields fields' Source #
Constructors
Binaryspec (PackMap (PrimExpr, PrimExpr) PrimExpr (fields, fields) fields') |
Instances
runBinaryspec :: Applicative f => Binaryspec columns columns' -> ((PrimExpr, PrimExpr) -> f PrimExpr) -> (columns, columns) -> f columns' Source #
binaryspecColumn :: Binaryspec (Field_ n a) (Field_ n a) Source #
sameTypeBinOpHelper :: BinOp -> Binaryspec columns columns' -> Query columns -> Query columns -> Query columns' Source #