project-m36-0.9.7: Relational Algebra Engine
Safe HaskellSafe-Inferred
LanguageHaskell2010

ProjectM36.Shortcuts

Synopsis

Main> #a Int :: AttributeExpr

Main> #a (Attr @[Int]) :: AttributeExpr

Main> #a [1] :: AtomExpr

data HaskAtomType a where Source #

Instances

Instances details
(KnownSymbol x, Atomable a) => IsLabel x (HaskAtomType a -> AttributeExpr) Source # 
Instance details

Defined in ProjectM36.Shortcuts

Main> #a #:= true #: ( #b (f "count" [1,2]))

class Boolean a b where Source #

Methods

(&&&) :: a -> b -> RestrictionPredicateExpr infixl 6 Source #

(|||) :: a -> b -> RestrictionPredicateExpr infixl 5 Source #

Orphan instances

IsList TupleExpr Source # 
Instance details

Associated Types

type Item TupleExpr #

KnownSymbol x => IsLabel x AtomExpr Source # 
Instance details

Methods

fromLabel :: AtomExpr #

KnownSymbol x => IsLabel x RelationalExpr Source # 
Instance details

KnownSymbol x => IsLabel x Text Source # 
Instance details

Methods

fromLabel :: Text #

Convertible AtomExpr AtomExpr Source # 
Instance details

Convertible AtomExpr RestrictionPredicateExpr Source # 
Instance details

Convertible RelVarName AtomExpr Source # 
Instance details

Convertible RelVarName RelationalExpr Source # 
Instance details

Convertible RelationalExpr AtomExpr Source # 
Instance details

Convertible RelationalExpr RestrictionPredicateExpr Source # 
Instance details

Convertible RestrictionPredicateExpr RestrictionPredicateExpr Source # 
Instance details

Atomable a => Convertible a AtomExpr Source # 
Instance details

Atomable a => Convertible a RestrictionPredicateExpr Source # 
Instance details

(KnownSymbol x, Convertible a AtomExpr) => IsLabel x ([a] -> AtomExpr) Source # 
Instance details

Methods

fromLabel :: [a] -> AtomExpr #

(Convertible a AtomExpr, KnownSymbol x) => IsLabel x (a -> ExtendTupleExpr) Source # 
Instance details

Methods

fromLabel :: a -> ExtendTupleExpr #

(Convertible a AtomExpr, KnownSymbol x) => IsLabel x (a -> (AttributeName, AtomExpr)) Source # 
Instance details

Methods

fromLabel :: a -> (AttributeName, AtomExpr) #

IsList (AttributeNamesBase ()) Source # 
Instance details

Associated Types

type Item (AttributeNamesBase ()) #

IsList (TupleExprsBase ()) Source # 
Instance details

Associated Types

type Item (TupleExprsBase ()) #