Example #1
0
 def c(predicateVal):
     if expressions.isTrue(predicateVal):
         return pogo.bounce(analyzedConsequent, env, cont)
     else:
         return pogo.bounce(analyzedAlternative, env, cont)
Example #2
0
 def c(predicate_val):
     if expressions.isTrue(predicate_val):
         return teval(expressions.ifConsequent(exp), env, cont)
     else:
         return teval(expressions.ifAlternative(exp), env, cont)
Example #3
0
 def c(predicate_val):
     if expressions.isTrue(predicate_val):
         return teval(expressions.ifConsequent(exp), env, cont)
     else:
         return teval(expressions.ifAlternative(exp), env, cont)