[ENH] converse-raok

Stephan Rudlof squeak-dev at lists.squeakfoundation.org
Wed Oct 2 04:50:08 UTC 2002


Richard,

after taking a short look at the code:
BinaryBlockConverse>>fixTemps should be added to the changeset, since it is
called by SortedCollection>>sortBlock:.

Greetings,

Stephan

ok at cs.otago.ac.nz wrote:
> from preamble:
> 
> "Change Set:		converse-raok
> Date:			30 September 2002
> Author:			Richard A. O'Keefe
> 
> There are applications, like reserving a sorted collection,
> or sorting in reverse order, but not limited to those,
> where we would like to take the converse of a predicate.
> The converse of a function f : (x, y) -> z is a function
> converse(f) : (y, x) -> z.
> 
> This change set adds a class BinaryBlockConverse and methods
> so that aBlock converse value: x value: y = aBlock value: y value: x."!


-- 
Stephan Rudlof (sr at evolgo.de)
   "Genius doesn't work on an assembly line basis.
    You can't simply say, 'Today I will be brilliant.'"
    -- Kirk, "The Ultimate Computer", stardate 4731.3




More information about the Squeak-dev mailing list