addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Discuss Scala Akka and Related Technologies

Type Classes for Pedestrians by Jeff Thomson

This presentation will be something of a travel journal for my random walk into the world of idiomatic Scala.  One of the best things about visiting new places is the opportunity to experience new cultures and discover the novel ways that they have found to overcome life's little challenges.  Whether you grew up in a "Kingdom of Nouns" or a Kingdom of Verbs, the problem of expressing both the commonalities as well as the differences in a set of related types can be a challenging problem.  Often referred to as the "Expression Problem" in academic circles, each of these cultures has produced solutions which suit their own cultural idioms.  Interestingly, these solutions are limited in more or less opposite ways.  I will describe the solutions that the Functional and Object Oriented worlds have discovered for the Expression Problem and show how, by using an approach called "Type Classes", we can find a fertile frontier between these two important cultures in your Scala code. 

As usual WhitePages will be hosting and providing food.

Any problems getting in call[masked]

Join or login to comment.

  • Devin B.

    This is the second time I've seen Jeff present a practical view of a somewhat academic topic in functional programming and this one was also excellent.

    February 11, 2014

  • Andrew R.

    Here's the article on Try() that I mentioned to a couple people after the meetup.

    February 12, 2014

  • Konstantin I.

    Hi, I am using Scalatra for implementing REST APIs, and I pondered idea of migrating to Spray, but it looks like Spray is suffering from the same issue that annoys me in Scalatra:
    IDE has no optics into various URL mappings and therefore I always have to scroll or search to find my mappings.

    That is unpleasant contrast with SpringMVC for example where every mapping is specified for a separate method and with minimum care about names I can see and navigate all my mappings with using structure panel in IDE.

    What group thinks about it? Is it just me being spoiled kid? Or am I missing something: trick, technique, meditation?

    February 7, 2014

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