Learning road with scala syntax