scala types and paths notes