On 13 August 2011 09:05, Lukas Renggli <[email protected]> wrote:
> I don't really see the point of PPElementParser? Why don't you just use
>
>    aParser answer: anObject

something like this ?
this temp feels strange…

PPPredicateObjectParser class >>
matching: elementParser message: aString
        | result |
        ^ (self
                        on: [ :each |
                                result := elementParser parse: each.
                                result isPetitFailure not ]
                        message: aString)
                answer: result


-- 
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet

Reply via email to