mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-24 22:08:04 +02:00
SW
This commit is contained in:
parent
e7e4f64df5
commit
f93467bad7
5 changed files with 11 additions and 4 deletions
Binary file not shown.
|
@ -48,6 +48,8 @@
|
|||
\usepackage[german,nameinlink]{cleveref} % has to be after hyperref, ntheorem, amsthm
|
||||
\usepackage{acronym}
|
||||
\usepackage{minted} % needed for the inclusion of source code
|
||||
\usemintedstyle{bw}
|
||||
\usepackage{courier}
|
||||
\usepackage{shortcuts}
|
||||
|
||||
\usepackage{fancyhdr}
|
||||
|
|
|
@ -5,7 +5,7 @@ in der Klausur als Nachschlagewerk zu dienen; es soll jedoch auch
|
|||
vorher schon für die Vorbereitung genutzt werden können und nach
|
||||
der Klausur als Nachschlagewerk dienen.
|
||||
|
||||
Ein Link auf das Skript ist unter \href{http://martin-thoma.com/programmierparadigmen-klausur/}{\path{martin-thoma.com/programmierparadigmen-klausur/}}
|
||||
Ein Link auf das Skript ist unter \href{http://martin-thoma.com/programmierparadigmen/}{\path{martin-thoma.com/programmierparadigmen}}
|
||||
zu finden.
|
||||
|
||||
\section*{Anregungen, Verbesserungsvorschläge, Ergänzungen}
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
$ ghci binomialkoeffizient.hs
|
||||
GHCi, version 7.4.2: http://www.haskell.org/ghc/ :? for help
|
||||
GHCi, version 7.4.2:
|
||||
http://www.haskell.org/ghc/
|
||||
:? for help
|
||||
Loading package ghc-prim ... linking ... done.
|
||||
Loading package integer-gmp ... linking ... done.
|
||||
Loading package base ... linking ... done.
|
||||
[1 of 1] Compiling Main ( binomialkoeffizient.hs, interpreted )
|
||||
[1 of 1] Compiling Main
|
||||
( binomialkoeffizient.hs, interpreted )
|
||||
Ok, modules loaded: Main.
|
||||
*Main> binom 5 2
|
||||
10
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
fakAcc n acc = if (n==0) then acc else fakAcc (n-1) (n*acc)
|
||||
fakAcc n acc = if (n==0)
|
||||
then acc
|
||||
else fakAcc (n-1) (n*acc)
|
||||
fak n = fakAcc n 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue