Refactor BranchLists.
authorRichard Eisenberg <eir@cis.upenn.edu>
Sun, 20 Sep 2015 03:59:22 +0000 (23:59 -0400)
committerRichard Eisenberg <eir@cis.upenn.edu>
Mon, 21 Sep 2015 16:01:59 +0000 (12:01 -0400)
commitcd2840a784f4136a8cfdb704124e892430ad9ead
tree8218de79fad91382faccf2be8b2464ef0fb3a9c5
parent8e8b9ed9849ba21e454e6204b368f8e993feaf7b
Refactor BranchLists.

Now we use Array to store branches. This makes sense because we often
have to do random access (once inference is done). This also vastly
simplifies the awkward BranchList type.

This fixes #10837 and updates submodule utils/haddock.
13 files changed:
compiler/coreSyn/CoreLint.hs
compiler/iface/MkIface.hs
compiler/iface/TcIface.hs
compiler/typecheck/FamInst.hs
compiler/typecheck/TcInteract.hs
compiler/typecheck/TcRnDriver.hs
compiler/typecheck/TcSplice.hs
compiler/typecheck/TcType.hs
compiler/typecheck/TcValidity.hs
compiler/types/CoAxiom.hs
compiler/types/Coercion.hs
compiler/types/FamInstEnv.hs
utils/haddock