<p>Hi,</p>
<p>I am currently working on benchmarking the pretty library.</p>
<p>Pretty itself has no non-trivial dependencies. But criterion and language-c, which I use to perform the benchmarks, directly and/or indirectly depend on pretty. Everything is configured in one Cabal file via library and benchmark sections. </p>

<p>Now, whenever I modify pretty and want to rebuild the bench executable, things become messy. Either I rebuild criterion et al. as well, or the bench executable ends up with two different pretty version built in - if this is even possible.</p>

<p>Until now I could not find a robust workflow for this scenario. At some point pretty &quot;shadows&quot; itself and the build fails (c.f. my previous caffee post).</p>
<p>What is the right way to handle this scenario?</p>
<p>Confused greetings,</p>
<p>Alex</p>