User loginNavigation |
archivesEnumerating the Rationals
Jeremy Gibbons, David Lester and Richard Bird (2004). Enumerating the Rationals. May 2004.
In this paper,we explain an elegant technique for enumerating the positive rationals without duplicates. Moreover, we show how to do so as a simple iteration, generating each element of the enumeration from the previous one alone,with constant cost per element (assuming unit cost for simple operations on arbitrary-precision rationals). Best of all, the resulting program is extremely simple... Cute. Nothing earth shattering, but fun none the less. Nets: Petri vs LafontI am currently playing with an idea of a PL based on Petri nets (place/transition nets) augmented with Prolog-like unification. DepartmentsBy Anton van Straaten at 2004-06-29 23:45 | other blogs | 175282 reads
|
Browse archivesActive forum topics |
Recent comments
2 weeks 6 days ago
43 weeks 18 hours ago
43 weeks 22 hours ago
43 weeks 22 hours ago
1 year 13 weeks ago
1 year 17 weeks ago
1 year 19 weeks ago
1 year 19 weeks ago
1 year 21 weeks ago
1 year 26 weeks ago