title: Possible to use currying in this code example?
body: <p>Consider the following Akka actor. Implemententations of this actor should need to override and implement <code>handleMessage(message: T)</code>. This implementation should call <code>executeQueryLookup</code> on its last line</p>
  
  <pre><code>abstract class BaseQueryLookupActor[T, U] extends Actor {
  
    def receive = {
      case message: T =&gt; handleMessage(message)
      case message =&gt; unhandled(message)
    }
  
    def handleMessage(message: T) // Abstract method
  
    def executeQueryLookup(cacheName: String, queryName: String, params: Map[String, String])  {
      // Concrete method that contains query logic
    }
  }
  </code></pre>
  
  <p>I realize there are multiple ways to achieve this without using any Scala functional concepts, but I'm thinking that it is also possible to achieve this somehow using a partial function or currying. 
  If so, how would I achieve this?</p>