# HG changeset patch # User Christian Urban # Date 1528724898 -3600 # Node ID fdf77ee57cdccf5298693e010b06f9071aafaef0 # Parent 7d3037a571256e754a859585bad3ef812da90b1c updated diff -r 7d3037a57125 -r fdf77ee57cdc README --- 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 diff -r 7d3037a57125 -r fdf77ee57cdc handouts/pep-ho.pdf Binary file handouts/pep-ho.pdf has changed diff -r 7d3037a57125 -r fdf77ee57cdc handouts/pep-ho.tex --- 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 diff -r 7d3037a57125 -r fdf77ee57cdc handouts/scala-ho.pdf Binary file handouts/scala-ho.pdf has changed diff -r 7d3037a57125 -r fdf77ee57cdc handouts/scala-ho.tex --- 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} diff -r 7d3037a57125 -r fdf77ee57cdc progs/lecture3.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