opaleye-0.6.7000.0: An SQL-generating DSL targeting PostgreSQL

Safe HaskellNone
LanguageHaskell2010

Opaleye.Internal.TableMaker

Synopsis

Documentation

newtype ViewColumnMaker strings columns #

Constructors

ViewColumnMaker (PackMap () () strings columns) 

Instances

Profunctor ViewColumnMaker # 

Methods

dimap :: (a -> b) -> (c -> d) -> ViewColumnMaker b c -> ViewColumnMaker a d #

lmap :: (a -> b) -> ViewColumnMaker b c -> ViewColumnMaker a c #

rmap :: (b -> c) -> ViewColumnMaker a b -> ViewColumnMaker a c #

(#.) :: Coercible * c b => (b -> c) -> ViewColumnMaker a b -> ViewColumnMaker a c #

(.#) :: Coercible * b a => ViewColumnMaker b c -> (a -> b) -> ViewColumnMaker a c #

ProductProfunctor ViewColumnMaker # 

Methods

purePP :: b -> ViewColumnMaker a b #

(****) :: ViewColumnMaker a (b -> c) -> ViewColumnMaker a b -> ViewColumnMaker a c #

empty :: ViewColumnMaker () () #

(***!) :: ViewColumnMaker a b -> ViewColumnMaker a' b' -> ViewColumnMaker (a, a') (b, b') #

Default ViewColumnMaker String (Column a) # 
Functor (ViewColumnMaker a) # 

Methods

fmap :: (a -> b) -> ViewColumnMaker a a -> ViewColumnMaker a b #

(<$) :: a -> ViewColumnMaker a b -> ViewColumnMaker a a #

Applicative (ViewColumnMaker a) # 

runViewColumnMaker :: ViewColumnMaker strings tablecolumns -> strings -> tablecolumns #

type ColumnMaker = Unpackspec #

Deprecated: Use Unpackspec instead

runColumnMaker :: Applicative f => ColumnMaker tablecolumns columns -> (PrimExpr -> f PrimExpr) -> tablecolumns -> f columns #

Deprecated: Use runUnpackspec instead

column :: ColumnMaker (Column a) (Column a) #

Deprecated: Use unpackspecColumn instead