[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

This page is part of the web mail archives of SRFI 121 from before July 7th, 2015. The new archives for SRFI 121 contain all messages, not just those from before July 7th, 2015.

*To*: srfi-121@xxxxxxxxxxxxxxxxx*Subject*: Re: Make-rational-number-generator*From*: "Arthur A. Gleckler" <aag@xxxxxxxxxxxxxx>*Date*: Sun, 15 Feb 2015 10:41:19 +0100*Delivered-to*: srfi-121@xxxxxxxxxxxxxxxxx*In-reply-to*: <20150208034057.GJ14765@mercury.ccil.org>*Old-date*: Sat, 7 Feb 2015 20:23:56 -0800*References*: <20150208011715.GH14765@mercury.ccil.org> <CALnw4LLeoAOyh9uLjT9Qh2Lrv7bi4A8d6_dA6zHvH0uXJ0b9nA@mail.gmail.com> <20150208034057.GJ14765@mercury.ccil.org>*User-agent*: Gnus/5.130008 (Ma Gnus v0.8) XEmacs/21.5-b34 (darwin)

On Sat, Feb 7, 2015 at 7:40 PM, John Cowan <cowan@xxxxxxxxxxxxxxxx> wrote: > Arthur A. Gleckler scripsit: > > > This doesn't seem to be useful enough to warrant inclusion in a general > > library. Do you have some general class of applications in mind? > > It's the rational-number analogue of iota. It's not as intuitive an > ordering as 1, 2, 3, 4, ... and can't be used for indexing, but it > does traverse the whole (non-negative) set of rational numbers. > The particulars of the ordering are nothing special, except that > they require only a single item of state, the last rational number > generated, and there is a once-and-only-once guarantee. > Yes, but I'm still wondering what it would be used for. Is it commonly needed?

**Follow-Ups**:**Re: Make-rational-number-generator***From:*John Cowan

**References**:**Make-rational-number-generator***From:*John Cowan

**Re: Make-rational-number-generator***From:*John Cowan

- Prev by Date:
**Re: SRFI 121: Generators** - Next by Date:
**Re: Make-rational-number-generator** - Previous by thread:
**Re: Make-rational-number-generator** - Next by thread:
**Re: Make-rational-number-generator** - Index(es):