TcDeriv: Use a NameEnv instead of association list
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 21 Sep 2015 21:52:23 +0000 (16:52 -0500)
committerAustin Seipp <austin@well-typed.com>
Mon, 21 Sep 2015 21:52:53 +0000 (16:52 -0500)
commit5a8b055ece4ae63eef1fc794f352b7be66e4a0cd
tree7f3ea34f26bf74b69c658bfa59f9284afff436a7
parent07f6418e690bc44b7b24ca3e376494287679e544
TcDeriv: Use a NameEnv instead of association list

It's unlikely that these lists would have become very large but
nevertheless this is an easy and worthwhile change.

Reviewed By: austin

Differential Revision: https://phabricator.haskell.org/D1265
compiler/typecheck/TcDeriv.hs