Skip to content

Commit

Permalink
delete profiling section
Browse files Browse the repository at this point in the history
  • Loading branch information
m4lvin committed Apr 12, 2024
1 parent ac81cb4 commit 797160a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 41 deletions.
32 changes: 0 additions & 32 deletions Profiling.tex

This file was deleted.

17 changes: 10 additions & 7 deletions exec/Main.lhs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

\section{Wrapping it up in an exectuable}
\label{sec:Main}
\section{Wrapping it up in an exectuable}\label{sec:Main}

We will now use the library form Section \ref{sec:Basics} in a program.

Expand All @@ -20,16 +19,20 @@ main = do
putStrLn "GoodBye"
\end{code}

We can run this program with the commands:

\begin{verbatim}
stack build
stack exec myprogram
\end{verbatim}

The output of the program is something like this:

\begin{showCode}
\begin{verbatim}
Hello!
[1,2,3,4,5,6,7,8,9,10]
[100,100,300,300,500,500,700,700,900,900]
[1,3,0,1,1,2,8,0,6,4]
[100,300,42,100,100,100,700,42,500,300]
GoodBye
\end{showCode}

Note that the above \texttt{showCode} block is only shown, but it gets
ignored by the Haskell compiler.
\end{verbatim}
2 changes: 0 additions & 2 deletions report.tex
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@

\input{test/simpletests.lhs}

\input{Profiling.tex}

\input{Conclusion.tex}

\addcontentsline{toc}{section}{Bibliography}
Expand Down

0 comments on commit 797160a

Please sign in to comment.