Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EntilZha/PyFunctional
/ square
Method
square
functional/test/test_functional.py:952–953 ·
view source on GitHub ↗
(it)
Source
from the content-addressed store, hash-verified
950
951
@extend
952
def
square(it):
953
return
[i ** 2
for
i in it]
954
955
result = seq.range(100).square().list()
956
expected = [i ** 2
for
i in range(100)]
Callers
1
test_custom_functions
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected