Being serious for a moment, it sounds like we're all happy (enough) with Function.empty.
Can't say I *like* Function.identity (I'd prefer "Function.passBack") but it at least is readily defensible as being derived from mathematics (like curry) and there are several "yea" vote for it in this thread. -- T.J. :-) On Sep 29, 8:58 am, Jim Higson <j...@wikizzle.org> wrote: > On Tuesday 29 September 2009 06:49:15 Joran Greef wrote: > > > Prototype's existing String.empty and Array.empty interfaces would > > imply that Function.empty return a boolean indicating perhaps that the > > function is empty. > > Well, it *could* do: > > Function.empty = function(){}; > Function.empty.empty = function(){return true}; > > Of course this doesn't cover other empty functions and I may be not entirely > serious ;-) > > Jim > > -- > Jim > my wiki ajaxification thing:http://wikizzle.org > my blog:http://jimhigson.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to prototype-core-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---