Patch1646 that resolved issue2566 involved a change of semantics for
withNewDirectory but did not adapt the haddocks.
1 patch for repository http://darcs.net/screened:
patch fd186a83a133b6cf40804d724fa2094d5409014f
Author: Ben Franksen <ben.franksen@online.de>
Date: Mon Mar 26 01:26:53 CEST 2018
* adapt haddocks and type of withNewDirectory