mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-07-27 21:29:09 +02:00
[FMFP] Prepare section on exercises
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
This section aims to give you an overview over how to solve different exercise types.
|
||||
An understanding of the rest of the topics covered in the lecture is expected, as well as understanding of haskell.
|
||||
There is a short section on haskell in this section, too.
|
||||
|
||||
FMFP is known to feature an exam where time is at a premium, so the most important preparation likely is solving as many old exams as you can,
|
||||
to really get fast at solving the exercises in there, as the exams have been following a similar format, with predictable exercise types, for a long time.
|
||||
@@ -0,0 +1,10 @@
|
||||
\subsubsection{Evaluation strategies}
|
||||
Evaluation strategies formalize how programming languages evaluate the code.
|
||||
Most of the commonly used programming languages use \textit{eager evaluation}, whereas functional programming languages tend to prefer \textit{lazy evaluation}
|
||||
|
||||
\paragraph{Lazy Evaluation}
|
||||
In Lazy Evaluation, expressions are substituted until all possible values are substituted and the expression is then evaluated.
|
||||
|
||||
At the exam, it is likely that one such task will appear.
|
||||
|
||||
\paragraph{Eager Evaluation}
|
||||
Reference in New Issue
Block a user