MCPcopy
hub / github.com/fluentpython/example-code-2e / is_pair

Function is_pair

18-with-match/lispy/original/lispy.py:140–140  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

138 else: return self.outer.find(var)
139
140def is_pair(x): return x != [] and isa(x, list)
141def cons(x, y): return [x]+y
142
143def callcc(proc):

Callers 1

expand_quasiquoteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected