scala notes