equal
deleted
inserted
replaced
71 download/2.5.9/3.2-2.5.9 --output amm |
71 download/2.5.9/3.2-2.5.9 --output amm |
72 \end{lstlisting} %% $ |
72 \end{lstlisting} %% $ |
73 |
73 |
74 \noindent |
74 \noindent |
75 This creates a file \code{amm} which before it can be run might |
75 This creates a file \code{amm} which before it can be run might |
76 need some adjustments of the permissions. |
76 need some adjustments of the permissions. Under recent versions of |
|
77 Windows also have \texttt{curl}, but need a slightly different call: |
|
78 |
|
79 \begin{lstlisting}[numbers=none,language={},basicstyle=\ttfamily\small] |
|
80 $ curl -L https://github.com/com-lihaoyi/Ammonite/releases/\ |
|
81 download/2.5.9/3.2-2.5.9 --output amm.bat |
|
82 \end{lstlisting} %% $ |
|
83 |
|
84 \noindent |
|
85 Then you need to run Ammonite with \texttt{.$\backslash$amm} and there |
|
86 is no need to change any permissions under Windows. |
|
87 |
77 The big advantage of Ammonite is that it comes with some additional |
88 The big advantage of Ammonite is that it comes with some additional |
78 libraries already built-in and also allows one to easily break up code |
89 libraries already built-in and also allows one to easily break up code |
79 into smaller modules. For example reading and writing files in |
90 into smaller modules. For example reading and writing files in |
80 Ammonite can be achieved with |
91 Ammonite can be achieved with |
81 |
92 |
156 |
167 |
157 \noindent |
168 \noindent |
158 To sum up, Ammonite is a really useful addition to the Scala ecosystem. |
169 To sum up, Ammonite is a really useful addition to the Scala ecosystem. |
159 You can find more information about how to use it in the first five chapters |
170 You can find more information about how to use it in the first five chapters |
160 of the ``Hands-on Scala'' book by Li Haoyi. These chapters are |
171 of the ``Hands-on Scala'' book by Li Haoyi. These chapters are |
161 free and can be used as a reference, see \url{https://www.handsonscala.com/part-i-introduction-to-scala.html} |
172 free and can be used as a reference, see |
162 |
173 |
|
174 \begin{center} |
|
175 \url{https://www.handsonscala.com/part-i-introduction-to-scala.html} |
|
176 \end{center} |
163 |
177 |
164 \end{document} |
178 \end{document} |
165 |
179 |
166 %%% Local Variables: |
180 %%% Local Variables: |
167 %%% mode: latex |
181 %%% mode: latex |