addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupsimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1outlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Meta-program and/or shapeless all the things!

  • Skills Matter at CodeNode

    10 South Place, EC2M 7EB, London (map)

    51.518906 -0.086611

  • Metaprogramming using Scala macros is a powerful tool for code generation, automatic optimisation and static checking for improved safety. But macros can look quite scary the first time you see them, this meetup will try to convince you that there is nothing to fear. Macros are both useful and fun!

    FREE TICKETS

    Attendance is free for registered delegates, and you can register here: https://skillsmatter.com/meetups/8565-london-scala-meetup

    WHAT, WHEN, WHERE

    WHAT: Meta-program and/or shapeless all the things!

    WHEN: Tuesday, 6th Dec, starts at 18:30

    WHERE: Skills Matter, CodeNode

    REGISTRATION(FREE): https://skillsmatter.com/meetups/8565-london-scala-meetup

    Talks:

    The talk will be in three parts.

    Part 1 will be an introduction to Scala macros, using live coding to demonstrate how they work and what you can do with them. We'll look at examples of implementing both a "def macro" and a macro annotation.

    In Part 2 I will introduce scala.meta, the next generation of metaprogramming in Scala. I'll demonstrate the syntactic API and "meta paradise", the shiny replacement for the current Scala macro API. With more live coding, I'll show how to re-implement the macro annotation from Part 1 using meta paradise.

    Finally in Part 3 I'll talk about when you should NOT use a macro because it would replicate functionality already available in Miles Sabin's shapeless library. I'll introduce a few examples of how to use shapeless to achieve the same result as writing a macro, but with less effort.

    Attendance is free for registered delegates, and you can register here:  https://skillsmatter.com/meetups/8565-london-scala-meetup


Join or login to comment.

Our Sponsors

  • Skills Matter

    Join Skills Matter to learn, innovate & share skills for better software

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