Refactoring: Delete copied function in backpack/NameShape
authorMatthew Pickering <matthewtpickering@gmail.com>
Sat, 22 Oct 2016 19:40:51 +0000 (15:40 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sat, 22 Oct 2016 19:40:54 +0000 (15:40 -0400)
commit6e9a51c06642d01b52a35d1e6a29c9aa5798f1e8
treebeef854da7bd0e0e2b12aef42b94ec0e9f74ac83
parent3cb32d8b0b51c548ab424139c66cce6b37a2ab1b
Refactoring: Delete copied function in backpack/NameShape

Also moved a few utility functions which work with Avails into
the Avail module to avoid import loops and increase discoverability.

Reviewers: austin, bgamari, ezyang

Reviewed By: ezyang

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2629
compiler/backpack/NameShape.hs
compiler/basicTypes/Avail.hs
compiler/rename/RnNames.hs