Closed
Description
Pros:
- Allows a lot of powerful techniques needed to work with data (type providers, XML, JSON and SQL interop)
deriving
directives are the part of the library, one could define some morederiving
s (for example,Check
to generateisNothing
,isJusy
etc.)
Cons:
- Typecheck gets trickier
- Needs update to module system
Tutorial for macros in Scala: http://docs.scala-lang.org/overviews/macros/overview.html