project-m36-0.3: Relational Algebra Engine

Safe HaskellNone
LanguageHaskell2010

ProjectM36.RelationalExpression

Synopsis

Documentation

freshDatabaseState :: DatabaseContext -> DatabaseStateElems Source #

Used to start a fresh database state for a new database context expression.

liftE :: Monad m => m (Either a b) -> ExceptT a m b Source #

verifyAtomExprTypes :: Relation -> AtomExpr -> AtomType -> RelationalExprState (Either RelationalError AtomType) Source #

Validate that the type of the AtomExpr matches the expected type.

evalAttrExpr :: TypeConstructorMapping -> AttributeExpr -> Either RelationalError Attribute Source #

Look up the type's name and create a new attribute.