Scala library