Talk:Evaluate binomial coefficients: Difference between revisions
Talk:Evaluate binomial coefficients (view source)
Revision as of 10:40, 24 February 2019
, 5 years ago→Are type hints a good idea for RC Python examples ?
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
|