add removeAtomFunctionP to interpreter
the fact that it was missing was an oversight
commit6219d5d01eae2029d6041fc57ba63c3d639e3aa3
authorAgentM <agentm@themactionfaction.com>
dateSun 9 Apr 2017, 22:37 (10 years ago)
parent6498a31
src/bin/TutorialD/Interpreter/DatabaseContextExpr.hs+1
@@ -32,6 +32,7 @@ databaseContextExprP = choice [insertP,
3232 removeNotificationP,
3333 addTypeConstructorP,
3434 removeTypeConstructorP,
35+ removeAtomFunctionP,
3536 executeDatabaseContextFunctionP,
3637 removeDatabaseContextFunctionP,
3738 nothingP]
src/lib/ProjectM36/RelationalExpression.hs−2
@@ -27,8 +27,6 @@ import Control.Monad.Trans.Except
2727import GHC
2828import GHC.Paths
2929
30−import Debug.Trace
31−
3230-- we need to pass around a higher level RelationTuple and Attributes in order to solve #52
3331data RelationalExprStateElems = RelationalExprStateTupleElems DatabaseContext RelationTuple | -- used when fully evaluating a relexpr
3432 RelationalExprStateAttrsElems DatabaseContext Attributes | --used when evaluating the type of a relexpr