2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00

added another prolog example

This commit is contained in:
Martin Thoma 2014-09-16 16:56:23 +02:00
parent 87fe3eb2b5
commit 6829f6cf97
5 changed files with 90 additions and 0 deletions

View file

@ -154,6 +154,12 @@ $a \cdot b$ zu erhalten?
\inputminted[linenos, numbersep=5pt, tabsize=4, frame=lines, label=main.scala]{scala}{scripts/scala/HighProduct.scala}
\subsection{Potenzierung}
Will man Zweierpotenzen bilden, so kann man die Berechnung beschleunigen, in dem
man immer wieder Quadriert:
\inputminted[linenos, numbersep=5pt, tabsize=4, frame=lines, label=power-futures.scala]{scala}{scripts/scala/power-futures.scala}
\section{Weitere Informationen}
\begin{itemize}
\item \url{http://www.scala-lang.org/api}