Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ recipe-498264.py
File
recipe-498264.py
recipes/Python/498264_reduce_as_a_generator/recipe-498264.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
class
YieldResult(BaseException):
pass
2
3
def
greduce(func, strm):
4
''
&
#x27;
Callers
nothing calls this directly
Calls
6
greduce
Function · 0.85
maps
Function · 0.85
reduced
Function · 0.85
f
Function · 0.50
next
Method · 0.45
send
Method · 0.45
Tested by
no test coverage detected