MCPcopy Create free account
hub / github.com/EntilZha/PyFunctional / map_t

Function map_t

functional/transformations.py:39–49  ·  view source on GitHub ↗

Transformation for Sequence.map :param func: map function :return: transformation

(func)

Source from the content-addressed store, hash-verified

37
38
39def map_t(func):
40 """
41 Transformation for Sequence.map
42 :param func: map function
43 :return: transformation
44 """
45 return Transformation(
46 "map({0})".format(name(func)),
47 partial(map, func),
48 {ExecutionStrategies.PARALLEL},
49 )
50
51
52def select_t(func):

Callers

nothing calls this directly

Calls 1

nameFunction · 0.85

Tested by

no test coverage detected