# HG changeset patch # User Christian Urban # Date 1587649794 -3600 # Node ID 841727e272526a98ac24e1e044b8d2e6a0a6649f # Parent 24bc76d97db21c7c5b0d968db255f2aae4c1f81e updated diff -r 24bc76d97db2 -r 841727e27252 handouts/pep-ho.pdf Binary file handouts/pep-ho.pdf has changed diff -r 24bc76d97db2 -r 841727e27252 handouts/pep-ho.tex --- a/handouts/pep-ho.tex Fri Apr 10 12:12:48 2020 +0100 +++ b/handouts/pep-ho.tex Thu Apr 23 14:49:54 2020 +0100 @@ -83,8 +83,15 @@ % Scala videos % https://www.youtube.com/user/DrMarkCLewis + +%% https://alvinalexander.com/downloads/HelloScala-FreePreview.pdf +%% +%% Section 10 about strings; interpolations and multiline strings + + + \begin{document} -\fnote{\copyright{} Christian Urban, King's College London, 2017, 2018, 2019} +\fnote{\copyright{} Christian Urban, King's College London, 2017, 2018, 2019, 2020} \section*{A Crash-Course in Scala} @@ -1060,6 +1067,8 @@ % %Option[T] +TBD + \subsection*{Higher-Order Functions} diff -r 24bc76d97db2 -r 841727e27252 progs/lecture2.scala --- a/progs/lecture2.scala Fri Apr 10 12:12:48 2020 +0100 +++ b/progs/lecture2.scala Thu Apr 23 14:49:54 2020 +0100 @@ -655,3 +655,24 @@ + + + +/* + * 1 + * / | \ + * / | \ + * / | \ + * 2 3 8 + * / \ / \ / \ + * 4 5 6 7 9 10 + * Preorder: 1,2,4,5,3,6,7,8,9,10 + * InOrder: 4,2,5,1,6,3,7,9,8,10 + * PostOrder: 4,5,2,6,7,3,9,10,8,1 + * + +show inorder, preorder, postorder + + + +*/ diff -r 24bc76d97db2 -r 841727e27252 slides/slides01.tex --- a/slides/slides01.tex Fri Apr 10 12:12:48 2020 +0100 +++ b/slides/slides01.tex Thu Apr 23 14:49:54 2020 +0100 @@ -44,7 +44,11 @@ % beamer stuff \renewcommand{\slidecaption}{PEP (Scala) \liningnums{01}, King's College London} -%https://insights.stackoverflow.com/survey/2019#technology-most-loved-dreaded-and-wanted +% https://insights.stackoverflow.com/survey/2019#technology-most-loved-dreaded-and-wanted + +% processors in the future / Ahmdahl law +% https://www.youtube.com/watch?v=_9mzmvhwMqw + \begin{document}