| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Opaleye.Internal.Unpackspec
- newtype Unpackspec columns columns' = Unpackspec (PackMap PrimExpr PrimExpr columns columns')
- unpackspecColumn :: Unpackspec (Column a) (Column a)
- runUnpackspec :: Applicative f => Unpackspec columns b -> (PrimExpr -> f PrimExpr) -> columns -> f b
- collectPEs :: Unpackspec s t -> s -> [PrimExpr]
Documentation
newtype Unpackspec columns columns' Source #
Constructors
| Unpackspec (PackMap PrimExpr PrimExpr columns columns') | An For example, the You can create |
Instances
| Profunctor Unpackspec Source # | |
| ProductProfunctor Unpackspec Source # | |
| SumProfunctor Unpackspec Source # | |
| Default Unpackspec (Column a) (Column a) Source # | |
| Functor (Unpackspec a) Source # | |
| Applicative (Unpackspec a) Source # | |
unpackspecColumn :: Unpackspec (Column a) (Column a) Source #
runUnpackspec :: Applicative f => Unpackspec columns b -> (PrimExpr -> f PrimExpr) -> columns -> f b Source #
Modify all the targeted PrimExprs
collectPEs :: Unpackspec s t -> s -> [PrimExpr] Source #
Extract all the targeted PrimExprs