Jump to content

Practical numbers: Difference between revisions

Python :: compostion Restored the deleted original, expressed thanks for the addition of a variant for comparison.)
(Python::Composition – Restored the deleted original, expressed thanks for the addition of a variant for comparison.))
(Python :: compostion Restored the deleted original, expressed thanks for the addition of a variant for comparison.))
Line 235:
<code># sumOfAnySubset :: [Int] -> Int -> Bool</code>
 
the additional variant, show below the original code here, gives an actual Python type hint:
 
<code>def sumOfAnySubset(xs: List[int]) -> Callable[[int], bool]:</code>
9,655

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.