Use a record instead of a typeclass for 'HsCompiler'. This is mostly
authorThomas Schilling <nominolo@googlemail.com>
Fri, 28 Nov 2008 12:19:47 +0000 (12:19 +0000)
committerThomas Schilling <nominolo@googlemail.com>
Fri, 28 Nov 2008 12:19:47 +0000 (12:19 +0000)
commit1dfe7f1ee44b6ae59e072eec720984b136fc1dc5
tree195051a09b77ea3f102558eefc77282cadcfb830
parent9b7ba5edbd83ea1624cbb8da8d7c52f7e59bb467
Use a record instead of a typeclass for 'HsCompiler'.  This is mostly
equivalent to a typeclass implementation that uses a functional
dependency from the target mode to the result type.
compiler/main/HscMain.lhs