Skip to content

Conversation

@quasicomputational
Copy link
Contributor

This was only a convenience function, but its use could obscure how it
is introducing a dependency on the CWD. By removing it, the "."
argument to matchDirFileGlob is explicit.

Any external code using matchFileGlob would have needed to be
changed as #5284 changed its signature and the module it lives in; it
is not much more of a burden to switch to matchDirFileGlob at the
same time.

Please include the following checklist in your PR:

  • Patches conform to the coding conventions.
  • Any changes that could be relevant to users have been recorded in the changelog.
  • The documentation has been updated, if necessary.
  • If the change is docs-only, [ci skip] is used to avoid triggering the build bots.

Please also shortly describe how you tested your change. Bonus points for added tests!

This was only a convenience function, but its use could obscure how it
is introducing a dependency on the CWD. By removing it, the "."
argument to `matchDirFileGlob` is explicit.

Any external code using `matchFileGlob` would have needed to be
changed as haskell#5284 changed its signature and the module it lives in; it
is not much more of a burden to switch to `matchDirFileGlob` at the
same time.
@quasicomputational quasicomputational added this to the 2.4 milestone Jun 27, 2018
@23Skidoo
Copy link
Member

Looks good, let's merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants