ideas for next dojo

From: Richard G.
Sent on: Monday, July 2, 2012 10:40 PM
Hello chaps,

I'd like to go ahead with the study of macros.
I have a suggestion:


Write a macro which understands XPath, and produce the corresponding 
expression using the existing scala.xml._ classes.
For example:

This line of code

     val nodes = XPath(root, "/html/body/table[1]­/tbody/tr/td[3]")

would produce this:

    val nodes = ( ( root  \\"html"  \"body"  \"table"  apply(0) )  
\"tbody"  \"tr"  \"td"  apply(2) )



Because we have very restricted time, we could start from something 
easier to 'parse' (or no parsing at all!), like this:

     val nodes = XPath(root, "html", "body", "table", 1 "tbody", "tr", 
"td", 3)


Thoughts?

Thanks

Richard Gomes
mobile : +44(77)9955-6813
twitter: frgomes
--------------------­--------------------­--------------------­-------
Skype: dial skype2ippi           then dial 889359040 when prompted.
GTalk: dial [address removed]  then dial 889359040 when prompted.
SIP  : dial [address removed]
iNUM : +88(351)[masked]


On 22/06/12 09:25, Richard Gomes wrote:
> Hi Pawel,
>
> I vote for the way it was done this time.
> Reason: we learn more with different groups working on different things.
>
> Thanks a lot.
>
> Cheers :)
>
> Richard Gomes
> twitter: frgomes
> --------------------­--------------------­--------------------­-------
> Skype: dial skype2ippi           then dial 889359040 when prompted.
> GTalk: dial [address removed]  then dial 889359040 when prompted.
> SIP:   dial [address removed]
> inum.org: +88(351)[masked]
> mobile:   +44(77)9955-6813
>
>
> On 18/05/12 14:01, Pawel Krupinski wrote:
>> Thanks everyone for attending!
>> Keep the code coming, post it somewhere, tweet about it etc. :)
>> How did everyone like the formula for figuring out what to work on
>> with people being able to choose?
>> Should we continue this or should everyone work on the same thing
>> during the dojos?
>>
>>           Cheers
>>           Paweł
>>
>>
>> On Fri, May 18, 2012 at 12:38 PM, Andy Hicks<[address removed]>   wrote:
>>> Hi
>>>
>>> Thanks to Paweł for last nights dojo, was good fun.
>>>
>>> The code for the mega mud AI Combinator Parser can be found at
>>>
>>> https://github.com...­
>>>
>>>
>>> andy
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Please Note: If you hit "REPLY", your message will be sent to everyone on
>>> this mailing list ([address removed])
>>> This message was sent by Andy Hicks ([address removed]) from London Scala
>>> Users' Group.
>>> To learn more about Andy Hicks, visit his/her member profile
>>> Set my mailing list to email me As they are sent | In one daily email |
>>> Don't send me mailing list messages
>>>
>>> Meetup, PO Box 4668 #37895 New York, New York 10163-4668 |
>>> [address removed]
>>
>> --
>> Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
>> http://www.meetup...­
>> This message was sent by Pawel Krupinski ([address removed]) from London Scala Users' Group.
>> To learn more about Pawel Krupinski, visit his/her member profile: http://www.meetup...­
>> Set my mailing list to email me
>>
>> As they are sent
>> http://www.meetup...­
>>
>> In one daily email
>> http://www.meetup...­
>>
>> Don't send me mailing list messages
>> http://www.meetup...­
>> Meetup, PO Box 4668 #37895 New York, New York 10163-4668 | [address removed]
>>
>>
>
>
>
> --
> Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
> http://www.meetup...­
> This message was sent by Richard Gomes ([address removed]) from London Scala Users' Group.
> To learn more about Richard Gomes, visit his/her member profile: http://www.meetup...­
> Set my mailing list to email me
>
> As they are sent
> http://www.meetup...­
>
> In one daily email
> http://www.meetup...­
>
> Don't send me mailing list messages
> http://www.meetup...­
> Meetup, PO Box 4668 #37895 New York, New York 10163-4668 | [address removed]
>
>

Our Sponsors

  • Scala.IO

    Scala.IO Paris Oct 23-24

  • Scala Dojo

    Web site for monthly Scala Dojo

  • Scala Jobs

    Google Group of Scala Jobs in the London Area

  • _.underscore

    Scala consultants, trainers, and developers, based in London, UK

  • Springer

    Help and supporters of the monthly dojo

  • Mind Candy

    Help with the Adv Scala Meet-up

  • Skills Matter

    Provide the venue for many of our meetings.

  • Scala Times

    A free, once-weekly Scala news flash

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy