updated
authorChristian Urban <urbanc@in.tum.de>
Mon, 11 Jun 2018 14:48:18 +0100
changeset 178 fdf77ee57cdc
parent 177 7d3037a57125
child 179 bacc5ce831bf
updated
README
handouts/pep-ho.pdf
handouts/pep-ho.tex
handouts/scala-ho.pdf
handouts/scala-ho.tex
progs/lecture3.scala
--- a/README	Thu May 17 12:52:33 2018 +0100
+++ b/README	Mon Jun 11 14:48:18 2018 +0100
@@ -5,7 +5,9 @@
     assignment20178-fahim1997, but no late submission?
 
 
-
+---------------
+Hepec...generating static pages
+https://sake92.github.io/hepek/quick-start.html
 
 ==================================
 Calling ediff from the command line
Binary file handouts/pep-ho.pdf has changed
--- a/handouts/pep-ho.tex	Thu May 17 12:52:33 2018 +0100
+++ b/handouts/pep-ho.tex	Mon Jun 11 14:48:18 2018 +0100
@@ -13,7 +13,10 @@
 
 \section*{A Crash-Course in Scala}
 
-
+\mbox{}\hfill\textit{``Scala --- Slowly Compiled Academic LAnguage''}\\
+\mbox{}\hfill\textit{ --- joke on Twitter}\bigskip
+ 
+\noindent
 Scala is a programming language that combines functional and
 object-oriented programming-styles. It has received quite a bit of
 attention in the last five or so years. One reason for this attention
Binary file handouts/scala-ho.pdf has changed
--- a/handouts/scala-ho.tex	Thu May 17 12:52:33 2018 +0100
+++ b/handouts/scala-ho.tex	Mon Jun 11 14:48:18 2018 +0100
@@ -10,7 +10,7 @@
 % see https://medium.com/@thejasbabu/scala-pattern-matching-9c9e73ba9a8a
 
 
-\begin{document}
+\begin{document} 
 
 \section*{A Crash-Course on Scala}
 
--- a/progs/lecture3.scala	Thu May 17 12:52:33 2018 +0100
+++ b/progs/lecture3.scala	Mon Jun 11 14:48:18 2018 +0100
@@ -121,6 +121,16 @@
 // actually colors can be written with "object",
 // because they do not take any arguments
 
+abstract class Day
+case object Monday extends Day 
+case object Tuesday extends Day 
+case object Wednesday extends Day
+case object Thursday extends Day 
+case object Friday extends Day 
+case object Saturday extends Day
+case object Sunday extends Day 
+
+
 
 // ... a bit more useful: Roman Numerals