Share

Xoltar Toolkit

Tracker: Patches

5 multivalued compose() functions - ID: 421560
Last Update: Settings changed ( xoltar )

Allows functions passed to the compose() class to
accept and return multiple values, as in the following
rather silly example:

>>> test = compose(lambda a,b: a+b, lambda a,b,c:
(a*b/c, a-b*c))
>>> test(4)
4


Ben Wolfson ( rumjuggler ) - 2001-05-05 02:55

5

Closed

Accepted

Bryn Keller

None

None

Public


Comment ( 1 )




Date: 2001-05-15 23:15
Sender: rumjuggler

Logged In: YES
user_id=121541

Mistake in the summary--the call should be to test(4, 2, 2),
not test(4), which wouldn't even execute.


Log in to comment.

Attached File ( 1 )

Filename Description Download
multivaluecompse the patch Download

Changes ( 5 )

Field Old Value Date By
status_id Open 2001-06-01 06:44 xoltar
resolution_id None 2001-06-01 06:44 xoltar
close_date - 2001-06-01 06:44 xoltar
assigned_to nobody 2001-05-14 17:31 xoltar
File Added 6015: multivaluecompse 2001-05-05 02:55 rumjuggler