Beispiel #1
0
def is_begin(exp):
    return is_tagged_list(exp, Symbol("begin"))
Beispiel #2
0
def is_if(exp):
    return is_tagged_list(exp, Symbol("if"))
Beispiel #3
0
def is_quoted(exp):
    return is_tagged_list(exp, S.QUOTE)
Beispiel #4
0
def is_lambda(exp):
    return is_tagged_list(exp, Symbol("lambda"))
Beispiel #5
0
def is_amb(exp):
    return is_tagged_list(exp, S.AMB)
Beispiel #6
0
def is_callcc(exp):
    return is_tagged_list(exp, S.CALLCC)
Beispiel #7
0
def is_definition(exp):
    return is_tagged_list(exp, Symbol("define"))
Beispiel #8
0
def is_undoable_assignment(exp):
    return is_tagged_list(exp, Symbol("maybe-set!"))
Beispiel #9
0
def is_assignment(exp):
    return is_tagged_list(exp, Symbol("set!"))
Beispiel #10
0
def is_cond(exp):
    return is_tagged_list(exp, Symbol("cond"))
Beispiel #11
0
def is_let(exp):
    return is_tagged_list(exp, Symbol("let"))