Re: Mason 2.0 thoughts
Jesse Vincent <[email protected]> Sun, 13 May 2007 19:49:49 -0400
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
On May 13, 2007, at 7:35 PM, Jonathan Swartz wrote:
>
> On May 13, 2007, at 3:50 PM, Jesse Vincent wrote:
>
>>
>> On May 13, 2007, at 6:45 PM, Dave Rolsky wrote:
>>
>>> On Sun, 13 May 2007, Jonathan Swartz wrote:
>>>
>>>>>
>>>
>>> I think we're on basically the same page. I'm just saying that we
>>> can use
>>> the syntax we have, but extend it to allow calling subroutines,
>>> components, and "named" filters. Now, I don't know exactly how we'd
>>> distinguish all of them, but I like the idea.
>>
>> Unifying filters and CwC is certainly interesting and makes the
>> explanations a lot easier.
>> If you're going to allow subroutines as filters, please please
>> please make it just as easy to use a block or a method call on an
>> object.
>
> Would you be ok with a built-in "Apply" filter that takes a
> subroutine? e.g.
>
> <& Apply(sub { tr/a-z/A-Z/ }) |&>
> [content]
> </&>
Sure!
Jesse
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-devel
PGP.sig
(application/pgp-signature, 186 B) - not displayed