Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google-deepmind/alphageometry
/ chain2
Function
chain2
ar.py:174–178 ·
view source on GitHub ↗
(elems: list[Any])
Source
from the content-addressed store, hash-verified
172
173
174
def
chain2(elems: list[Any]) -> Generator[tuple[Any, Any], None, None]:
175
if
len(elems) < 2:
176
return
177
for
i, e1 in enumerate(elems[:-1]):
178
yield
e1, elems[i + 1]
179
180
181
def
update_groups(
Callers
1
update_groups
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected