Constructors
Unpackspec (PackMap PrimExpr PrimExpr fields fields')An Unpackspec
fieldsfields'allows you to extract and modify a sequence of PrimExprs inside a value of typefields.For example, the Default instance of type Unpackspec
(Field a, Field b)(Field a, Field b)allows you to manipulate or extract the two PrimExprs inside a(Field a, Field b). The Default instance of typeFoo (Field a) (Field b) (Field c)will allow you to manipulate or extract the three PrimExprs contained therein (for a user-defined product typeFoo, assuming themakeAdaptorAndInstanceInferrablesplice fromData.Profunctor.Product.THhas been run).Users should almost never need to create or manipulate Unpackspecs. Typically they will be created automatically by the Default instance. If you really need to you can create Unpackspecs by hand using unpackspecField and the Profunctor, ProductProfunctor and
SumProfunctoroperations.
Instances7Profunctor, ProductProfunctor, SumProfunctor, Default, Functor, Applicative, …
Profunctor UnpackspecDefined in opaleye-0.10.8.0 · Opaleye.Internal.UnpackspecProductProfunctor UnpackspecDefined in opaleye-0.10.8.0 · Opaleye.Internal.UnpackspecSumProfunctor UnpackspecDefined in opaleye-0.10.8.0 · Opaleye.Internal.UnpackspecDefault Unpackspec a b => Default Unpackspec (MaybeFields a) (MaybeFields b)Defined in opaleye-0.10.8.0 · Opaleye.Internal.MaybeFieldsDefault Unpackspec (Field_ n a) (Field_ n a)Defined in opaleye-0.10.8.0 · Opaleye.Internal.UnpackspecFunctor (Unpackspec a)Defined in opaleye-0.10.8.0 · Opaleye.Internal.UnpackspecApplicative (Unpackspec a)Defined in opaleye-0.10.8.0 · Opaleye.Internal.Unpackspec