Be the first to like this
A short talk about using type providers for fun and profit. (well, mostly fun).
The talk was delivered at Underscore, the Israeli Scala user group.
1) Mixfix notation:
@syntax def _inThe_withThe_(...) = ...
(ColonelMustard inThe LoungeRoom withThe LeadPipe)
2) Use adjectives to describe your objects:
Book(length = long, interesting = true, color = red)
a (long, interesting, red) Book