Rename HEq_sc and Coercible_sc to heq_sel and coercible_sel
authorMatthew Pickering <matthewtpickering@gmail.com>
Tue, 2 Jan 2018 21:29:00 +0000 (16:29 -0500)
committerBen Gamari <ben@smart-cactus.org>
Tue, 2 Jan 2018 22:33:04 +0000 (17:33 -0500)
commit3382ade3eb7ce09737d52e7c1f3ecc3431bf00fb
tree193dfeff6e1ea466bbab45cbae884f4b4c0160a9
parentecff651fc2f6d9833131e3e7fbc9a37b5b2f84ee
Rename HEq_sc and Coercible_sc to heq_sel and coercible_sel

These functions are record selectors.

To the unfamiliar, when inspecting core, they looked like data
constructors as they started with an upper case letter. We rename them
so that it is more clear that firstly they are functions and secondly
that they are selectors.

Reviewers: bgamari, simonpj

Reviewed By: simonpj

Subscribers: simonpj, rwbarton, thomie, carter

Differential Revision: https://phabricator.haskell.org/D4280
compiler/prelude/TysWiredIn.hs
testsuite/tests/indexed-types/should_compile/T7837.stderr
testsuite/tests/simplCore/should_compile/Makefile