Statically Typed

because Hindley-Milner rocks

Category Archives: Scala

Scala: Predicate Composition with Lens-Like Structures

I’ve been playing around with a few ideas on how to apply a lens-like construct on arbitrary Scala collections that also combines the power of predicate composition as opposed to … Continue reading

January 20, 2014 · Leave a comment

Gang of Four Patterns With Type-Classes and Implicits in Scala (Part 2)

edit: I’m really not happy about how this blog post turned out. There’s something important in there that’s muddled and unclear but has to do with dependency inversion and the … Continue reading

March 24, 2013 · Leave a comment

Gang of Four Patterns With Type-Classes and Implicits in Scala

Type-classes, as they’re known within the Scala language, have a wonderful place in library development. They make code open to extension, less verbose and simplify APIs. I’ve yet to find many … Continue reading

March 9, 2013 · 2 Comments

Squealer: An Anti-ORM Influenced Scala Tool for Working with Relational DB

I was reading a blog post from Prismatic the other day and it got me thinking about how we, as programmers, have diverged so much from our roots. In the … Continue reading

April 28, 2012 · 8 Comments

Scala: Working with Predicates

I love me some Scala.  Actually, since it’s now my day job, I love it all the time.  It combines the short, expressiveness that I prized in Python with a … Continue reading

January 29, 2012 · 2 Comments

Scala: The Million Trait March…

Traits are arguably one of the nicest things about Scala.  Doubly so to anyone who has had to deal with the strict OO-rigidity imposed by Java.  Component driven, loosely coupled … Continue reading

September 25, 2011 · Leave a comment

Implementing Scala’s pattern matching in C++

Scala has many beautiful features which I’m absolutely in love with: closures, currying of functions, functions as first class objects, higher order functions, traits, and pattern matching (and there’s probably … Continue reading

January 18, 2011 · Leave a comment

Functional Code in the News

Over at Hacker News the past few days a couple of articles became known to me and before they get buried by the other articles I’d like to link them: … Continue reading

November 28, 2010 · Leave a comment

C++ Templates and Relations to Scala (part 1)

It feels like I haven’t posted in forever.  Actually I’ve got a bunch of posts sitting in “edit” stage that just aren’t mature enough to post.  This is what happens … Continue reading

November 17, 2010 · Leave a comment

Wubi, Eclipse, Android SDK and more

I’ve had a very busy weekend.  I used Wubi to install Ubuntu on my machine at home, downloaded the PyDev add-on for Eclipse and configured my Android SDK download so … Continue reading

September 26, 2010 · Leave a comment