Talk:Evaluate binomial coefficients: Difference between revisions

Line 143:
 
:: The HM comment: '''enumFromTo :: Enum a => a -> a -> [a]'''
 
:: (A list of values derived from a start value and and end value of the same type,
:: as long as that type is enumerable)
 
:: is more informative to the reader, and less verbose, than the mypy type hint:
Line 148 ⟶ 151:
:: '''def enumFromTo(m: Any) -> Callable[[Any], List[Any]]:'''
 
:: Which has no semanticsconvention for indicating a restriction to enumerable types ...
 
 
9,655

edits