On Tue, 9 Mar 2010, Daniel Ruoso wrote:
Em Seg, 2010-03-08 às 12:45 -0800, Little Walker escreveu:
I've been looking around to see if there's been any discussion of
introducing functional programming-style pattern matching for method/
function dispatch. Could someone point me to any such discussions?
a Tree matching language is on discussion for about three years already
(I remember discussing this during YAPC::EU 2007). We have considered
several things including XPath/XSLT but haven't come to any viable
conclusion.
I'm planning to write a Tree module, but I'm waiting for Rakudo to
stabilise a bit (ie. to catch up after the -ng branch). I have some code
written already, but it relies on features that aren't implemented yet, and I
haven't gotten around to coding workarounds.
:)
---------------------------------------------------------------------
| Name: Tim Nelson | Because the Creator is, |
| E-mail: wayl...@wayland.id.au | I am |
---------------------------------------------------------------------
----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V-
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----