kirancodes.me
To Proof Maintenance & Beyond!

916 papers · page 45 of 46

Two Greedy Algorithms

Richard S. Bird

At the recent TC2 working conference on constructing programs from specifications (Moeller, 1991), I presented the derivation of a functional program for solving a problem posed by Knuth (1990). Slightly simplified, the problem was to construct a shortest decimal fraction represe…