Oops, Scala -> Prolog