On Mon, Aug 23, 2010 at 4:26 PM, Rajeev J Sebastian < rajeev.sebast...@gmail.com> wrote:
> Probably better to use PEAK Rules.... > > Regards > Rajeev J Sebastian > That looks much more fully featured indeed. But I couldn't understand why features such as the one I "copy-pasted" below are relevant when a simple lambda is all that is required : - The Basic AST Builder<http://peak.telecommunity.com/DevCenter/PEAK-Rules/AST-Builder>and advanced Code Generation<http://peak.telecommunity.com/DevCenter/PEAK-Rules/Code-Generation> - Criteria <http://peak.telecommunity.com/DevCenter/PEAK-Rules/Criteria>, Indexing <http://peak.telecommunity.com/DevCenter/PEAK-Rules/Indexing>, and Predicates<http://peak.telecommunity.com/DevCenter/PEAK-Rules/Predicates> - Syntax pattern matching<http://peak.telecommunity.com/DevCenter/PEAK-Rules/Syntax-Matching> Dhananjay > > On Mon, Aug 23, 2010 at 4:11 PM, Dhananjay Nene > <dhananjay.n...@gmail.com> wrote: > > While python's multimethod module allows function overloading based on > > types, here's another approach to do the same based on a switching > function > > (clojure style) or on a set of conditions. > > > > Clojure style multimethod functions in > > python< > http://codeblog.dhananjaynene.com/2010/08/clojure-style-multi-methods-in-python/ > > > > . > > > > Comments if any welcome on the blog post / here. > > -- > > -------------------------------------------------------- > > blog: http://blog.dhananjaynene.com > > twitter: http://twitter.com/dnene > > _______________________________________________ > > BangPypers mailing list > > BangPypers@python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers