<p>Create the basic <code>stack</code> project. This will create a new directory. Note that this new directory name can't have a hyphen-delimited word that's just digits, so the project will have to be <code>advent-of-code</code></p>
<pre><code>stack new advent-of-code --bare simple</code></pre>
<p>Modify the <code>stack.yaml</code> file as needed, such as adding the <code>ghc-options</code> stanza.</p>
<h2 id="creating-subsequent-days">Creating subsequent days</h2>
<p>Create the basic <code>stack</code> project. This will create a new directory. Note that this new directory name can't have a hyphen-delimited word that's just digits, so the project will have to be <code>advent-of-code</code></p>
<pre><code>stack new advent-of-code --bare simple</code></pre>
<p>Modify the <code>stack.yaml</code> file as needed, such as adding the <code>ghc-options</code> stanza.</p>
<h2 id="creating-subsequent-days">Creating subsequent days</h2>