mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-19 11:38:05 +02:00
Haskell comments
This commit is contained in:
parent
233d996160
commit
2f06a2e6a8
2 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ ausführbare Datei erzeugt.
|
|||
Alternativ kann es direkt mit \texttt{runghc hello-world.hs} ausgeführt werden.
|
||||
|
||||
\section{Syntax}
|
||||
\subsection{Kommentare}\xindex{Kommentare!Haskell}
|
||||
In Haskell werden kommentare durch \verb+--+ begonnen.
|
||||
|
||||
\subsection{Klammern und Funktionsdeklaration}
|
||||
Haskell verzichtet an vielen Stellen auf Klammern. So werden im
|
||||
Folgenden die Funktionen $f(x) := \frac{\sin x}{x}$ und $g(x) := x \cdot f(x^2)$
|
||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue