[squeak-dev] [ENH] coercing a number to an interval
Stéphane Rollandin
lecteur at zogotounga.net
Sat Apr 24 19:01:04 UTC 2010
> Hmm... #coerceToInterval: sounds like converting something into an
> instance of Interval..
> so, maybe there could be some other names, like
> #putOnInterval:
> #withinInterval:
>
> 359 withinInterval: (-90 to: 90)
359 moduloInterval: (-90 to: 90) ?
Stef
More information about the Squeak-dev
mailing list
|