Greedy algorithm for Egyptian fractions: Difference between revisions
Greedy algorithm for Egyptian fractions (view source)
Revision as of 21:49, 27 March 2019
, 5 years ago→Composition of pure functions: Edited derivation of negative ratios
(→{{header|Python}}: Added a functionally composed version.) |
(→Composition of pure functions: Edited derivation of negative ratios) |
||
Line 1,596:
)) if n else Nothing()
fr = Fraction
) if 0 > nd else unfoldr(go)(nd)
|