Practical numbers: Difference between revisions
Content added Content deleted
(→Composition of pure functions: Explained the semantic type of the central function, which is concealed by the compiler hint.) |
(→Composition of pure functions: Removed argument with note to see taslk page.) |
||
Line 228:
===Composition of pure functions===
▲See the discussion page.
<lang python>'''Practical numbers'''
Line 255 ⟶ 248:
))
# Note: Although mypy compliant, type Any below could be improved.
def sumOfAnySubset(xs: List[int]) -> Callable[[Any], Any]:
|