889 \begin{alltt} |
889 \begin{alltt} |
890 ALTS("for", "def", "yield", "implicit", "if", "match", "case") |
890 ALTS("for", "def", "yield", "implicit", "if", "match", "case") |
891 \end{alltt} |
891 \end{alltt} |
892 \end{quote} |
892 \end{quote} |
893 |
893 |
894 \noindent Again I leave you to it how much this simplifies the |
894 \noindent Again I leave you to it to find out how much this |
895 regular expression in comparison if I had to write this by |
895 simplifies the regular expression in comparison if I had to |
896 hand using only the ``plain'' regular expressions from the |
896 write this by hand using only the ``plain'' regular |
897 inductive datatype. |
897 expressions from the inductive datatype. |
898 |
898 |
899 \subsection*{More Info} |
899 \subsection*{More Info} |
900 |
900 |
901 There is much more to Scala than I can possibly describe in |
901 There is much more to Scala than I can possibly describe in |
902 this document. Fortunately there are a number of free books |
902 this document. Fortunately there are a number of free books |
903 about Scala and of course lots of help online. For example |
903 about Scala and of course lots of help online. For example |
904 |
904 |
905 \begin{itemize} |
905 \begin{itemize} |
906 \item \url{http://www.scala-lang.org/docu/files/ScalaByExample.pdf} |
906 \item \url{http://www.scala-lang.org/docu/files/ScalaByExample.pdf} |
907 \item \url{http://www.scala-lang.org/docu/files/ScalaTutorial.pdf} |
907 \item \url{http://www.scala-lang.org/docu/files/ScalaTutorial.pdf} |
|
908 \item \url{https://www.youtube.com/user/ShadowofCatron} |
908 \end{itemize} |
909 \end{itemize} |
909 |
910 |
910 While I am quite enthusiastic about Scala, I am also happy to |
911 While I am quite enthusiastic about Scala, I am also happy to |
911 admit that it has more than its fair share of faults. The |
912 admit that it has more than its fair share of faults. The |
912 problem seen earlier of having to give an explicit type to |
913 problem seen earlier of having to give an explicit type to |