Somes worksheets and exemples to learn Scala 3
This project uses sbt
To find the worksheets you should go in the src/main/scala/worksheets folder
To see worksheet results (VS Code) you should:
- Install the Metals extension on VS Code
- Clone the repo
- Go to on the choosen worksheet and save the file (the results will appear)
Currently available worksheets are:
- Val and var ------------->(ValVar.worksheet.sc)
- Function ---------------->(Function.worksheet.sc)
- Methods ----------------->(Methods.worksheet.sc)
- Classes ----------------->(Classes.worksheet.sc)
- Objects ----------------->(Objects.worksheet.sc)
- Method Versus Function -->(MethodVsFunction.worksheet.sc)
- Traits ------------------>(Traits.worksheet.sc)