|File Search||Catalog||Content Search|
PEAK-Rules supports out of the box: multiple-dispatch on positional arguments using tuples of types, full predicate dispatch using strings containing Python expressions, and CLOS-like method combining. Additionally, PEAK-Rules allows to mix and match dispatch engines and custom method combinations.
This package also provides some third party contribution over PEAK-Rules, in particular:
* prioritized_methods - prioritize methods to resolve dispatch ambiguities
Description: This module provides four decorators: ``prioritized_when`` ``prioritized_around`` ``prioritized_before`` ``prioritized_after`` These behave like their ``peak.rules`` counterparts except that they accept an optional ``prio`` argument which can be used to provide a comparable object (usu more»
=========================================== Creating Generic Functions using PEAK-Rules =========================================== PEAK-Rules is a highly-extensible framework for creating and using generic functions, from the very simple to the very complex. Out of the box, it supports multiple-dispatch on positional arguments using tuples of types, full predicate dispatch using strings contain more»
python-peak.rules (0.5a1+r2600-1) unstable; urgency=low * new upstream release * first upload to unstable * debian/README.source: fix wording and content -- Stefano Zacchiroli <firstname.lastname@example.org> Sun, 02 Aug 2009 12:46:47 +0200 python-peak.rules (0.5a1+r2582.1-1) experimental; urgency=low * add support for shipping PEAK-Rules contribs * ship as the sole contrib prioritized_methods more»
This package was debianized by Stefano Zacchiroli <email@example.com> on Wed, 10 Jun 2009 18:51:14 +02 more»