30nd meeting of Scala Enthusiasts Group Lausanne

104 views
Skip to first unread message

Nicolas

unread,
Dec 5, 2013, 3:13:32 AM12/5/13
to scala-enthusi...@googlegroups.com
Hello,

For this session, Carlo Jelmini, working for Crossing-Tech as Scala leader, will present the Macro:

"Macros were introduced as an experimental feature in Scala 2.10 and they will be even more powerful in Scala 2.11. But what they are good for? How to develop with them? Are they as scary as they sound? In this Hands-on session, I will introduce Scala Macros and ask you to implement some simple macros. At the end of the session, I hope that you will be convinced that Macros are a powerful new tool in your Scala belt.

Remember to bring your laptop!"

The session will be held on Thursday 12th of December at 18:30 at Crosssing-Tech, Innovation square - building J (4th floor), Lausanne (next the Scientific Parc of the EPFL).

Here is the map: 

To facilitate catering, feel free to register using the following doodle link: 

See you soon... 

Nicolas

Carlo Jelmini

unread,
Dec 10, 2013, 10:37:00 AM12/10/13
to scala-enthusi...@googlegroups.com
Hi,

The session on Scala Macros this Thursday will be very code-intensive. 
To ensure a good experience please make sure that you have the following requirements fulfilled before the session:

1) you have a laptop (and don't forget your charger) or you can find a kindred spirit willing to share its laptop with you...

2) you have sbt 0.12.4 installed on your machine. See here for instructions: http://www.scala-sbt.org/0.12.4/docs/Getting-Started/Setup.html

3) you have git installed on your machine: http://git-scm.com/downloads

I hope that you will enjoy the session!

See you Thursday!

Carlo



--
You received this message because you are subscribed to the Google Groups "Scala Enthusiasts Group Lausanne" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-enthusiasts-l...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Carlo Jelmini

Galder Zamarreno

unread,
Dec 10, 2013, 11:09:59 AM12/10/13
to scala-enthusi...@googlegroups.com
Do you specifically need SBT 0.12.4, or will 0.13 work too?

Cheers,
To unsubscribe from this group and stop receiving emails from it, send an email to scala-enthusiasts-lausanne+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
Carlo Jelmini

Carlo Jelmini

unread,
Dec 10, 2013, 11:15:51 AM12/10/13
to scala-enthusi...@googlegroups.com
I will test with sbt 0.13 tomorrow and I will let you know. 

bye


To unsubscribe from this group and stop receiving emails from it, send an email to scala-enthusiasts-l...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
Carlo Jelmini

Carlo Jelmini

unread,
Dec 11, 2013, 3:14:59 PM12/11/13
to scala-enthusi...@googlegroups.com
Hi,

Do you specifically need SBT 0.12.4, or will 0.13 work too?

I tested the exercises with sbt 0.13.1 (the very latest version) and the code compiles and run without problems.

The only concerns could be the "sbt-idea" and "sbteclipse-plugin" plugins that I added to the sbt build conf in order to generate project files for these IDEs. I tested sbt-idea plugin (version 1.5.2) and IntelliJ shows some good code red when generated with 0.13.1 but not when generated with 0.12.4... I didn't test sbt-eclipse but you may need to upgrade to version 2.4.0 instead of 2.2.0.

See you tomorrow.

Carlo

--
Carlo Jelmini

Edmondo Porcu

unread,
Feb 6, 2014, 8:04:04 AM2/6/14
to scala-enthusi...@googlegroups.com
Hello everybody,

can I please have the slides of the session?

Thank you very much

Edmondo


--

Carlo Jelmini

unread,
Feb 7, 2014, 4:33:12 AM2/7/14
to scala-enthusi...@googlegroups.com
Hello,

sorry Edmondo for the delay.

Please find attached the slides of the session.

There is a branch containing a solution for each exercise.

Enjoy!

Carlo
--
Carlo Jelmini
SEGL_Macros - Final.odp

Edmondo Porcu

unread,
Feb 7, 2014, 10:33:47 AM2/7/14
to scala-enthusi...@googlegroups.com
Hello Carlo,
thanks. Was there something about automatic generation of type classes?

Best

Edmondo

Carlo Jelmini

unread,
Feb 7, 2014, 11:24:14 AM2/7/14
to scala-enthusi...@googlegroups.com
Ciao Edmondo,

you mean implicit macros? 
I talked briefly about implicit macros in slides 11-12, but I didn't prepare any exercises with them. 

A short article with an example posted on Github: http://sparkingtoaster.blogspot.ch/2013/06/scala-2102-implicit-macros.html

Hope it helps.

Bye

Carlo
Reply all
Reply to author
Forward
0 new messages