Em Quarta 17 Maio 2006 05:42, Bob Ippolito escreveu:

> What are some use cases for this? What is construct typically named?
> I can't recall ever running across a library or language that has a
> composition function like that.

Fromwhat I understood, this looks like a Python decorator.

    @decorator
    def function(param1, param2):
        pass

is the same as

    def function(param1, param2):
        pass

    function = decorator(function)


But I might be wrong...  I'm just waking up... ;-)


-- 
Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to