A Scala port