Talk:Evaluate binomial coefficients: Difference between revisions
Talk:Evaluate binomial coefficients (view source)
Revision as of 10:48, 24 February 2019
, 5 years ago→Are type hints a good idea for RC Python examples ?
Line 142:
:: as well as Int and Float enumerations '''[1.. 10]''', '''[1.5 .. 10.5]'''),
:: 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'',
Line 149 ⟶ 151:
:: is more informative to the reader, and less verbose, than the mypy type hint:
::: '''def enumFromTo(m: Any) -> Callable[[Any], List[Any]]:'''
:: Which
|