Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sesiuni:scala:lab1 [2016/06/27 12:41]
dciocirlan [Practice]
sesiuni:scala:lab1 [2016/06/27 12:51] (current)
dciocirlan [Practice]
Line 15: Line 15:
 == Practice == == Practice ==
  
-You can create a simple project, with a single Scala file. Call it whatever you like\\+You can create a simple project, with a single Scala file. Call it whatever you like.\\
 Along with the //main// method, you can create a method for every exercise. Along with the //main// method, you can create a method for every exercise.
  
Line 32: Line 32:
   - **@tailrec** - rewrite a recursive function to be tail-recursive   - **@tailrec** - rewrite a recursive function to be tail-recursive
     * follow our instructions on which function to rewrite and how to do this     * follow our instructions on which function to rewrite and how to do this
-    * you can //​probably//​ rewrite one of the earlier functions to be @tailrec+    * you can //​probably//​ rewrite one of the earlier functions to be @tailrec ​(wink)
  
  
  
sesiuni/scala/lab1.txt · Last modified: 2016/06/27 12:51 by dciocirlan