Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
140
def
is_pair(x):
return
x != [] and isa(x, list)
141
def
cons(x, y):
return
[x]+y
142
143
def
callcc(proc):
Callers
1
expand_quasiquote
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected