summaryrefslogtreecommitdiff
path: root/compiler/ghci
diff options
context:
space:
mode:
authorRichard Eisenberg <rae@richarde.dev>2019-10-03 23:20:13 +0100
committerRichard Eisenberg <rae@richarde.dev>2019-10-08 12:50:04 +0100
commitbe8d71d07b39f503ba9a7fc66b6735cb1da605c9 (patch)
treef32f4bf55f0a2252cdf3ce716234c4b8e52e5215 /compiler/ghci
parent9402608ea5955c70fee51f8b892d418252846a9b (diff)
downloadhaskell-be8d71d07b39f503ba9a7fc66b6735cb1da605c9.tar.gz
Break up TcRnTypes, among other modules.wip/rae/split-up-modules
This introduces three new modules: - basicTypes/Predicate.hs describes predicates, moving this logic out of Type. Predicates don't really exist in Core, and so don't belong in Type. - typecheck/TcOrigin.hs describes the origin of constraints and types. It was easy to remove from other modules and can often be imported instead of other, scarier modules. - typecheck/Constraint.hs describes constraints as used in the solver. It is taken from TcRnTypes. No work other than module splitting is in this patch. This is the first step toward homogeneous equality, which will rely more strongly on predicates. And homogeneous equality is the next step toward a dependently typed core language.
Diffstat (limited to 'compiler/ghci')
0 files changed, 0 insertions, 0 deletions