1. 22 Apr, 2016 2 commits
  2. 21 Apr, 2016 2 commits
  3. 20 Apr, 2016 12 commits
    • niteria's avatar
      Point to note about FV eta-expansion performance · 98a14ff0
      niteria authored
    • niteria's avatar
      Rename FV related functions · 2e33320a
      niteria authored
      This is from Simon's suggestion:
      * `tyCoVarsOfTypesAcc` is a terrible name for a function with a
        perfectly decent type `[Type] -> FV`. Maybe `tyCoFVsOfTypes`?
        Similarly others
      * `runFVList` is also terrible, but also has a decent type.
        Maybe just `fvVarList` (and `fvVarSet` for `runFVSet`).
      * `someVars` could be `mkFVs :: [Var] -> FV`.
    • Simon Peyton Jones's avatar
      Accept tcrun045 output · 55b1b85d
      Simon Peyton Jones authored
      My validate didn't catch this one; it is fallout
      (actually an improvement) from
        353d8a SCC analysis for instances as well as types/classes
    • niteria's avatar
      Build a correct substitution in dataConInstPat · 62943d2a
      niteria authored
      This adds the tyvars of the domain of the substitution into the in-scope
      set as well.
      What I'm not sure here is if the kinds can have any free vars that
      should be in the in-scope set as well.
      Test Plan: ./validate
      Reviewers: goldfire, austin, bgamari, simonpj
      Reviewed By: simonpj
      Subscribers: thomie, simonmar
      Differential Revision: https://phabricator.haskell.org/D2094
      GHC Trac Issues: #11371
    • niteria's avatar
      Kill unnecessary varSetElemsWellScoped in deriveTyData · 687c7780
      niteria authored
      varSetElemsWellScoped introduces unnecessary non-determinism and it's possible
      to do the same thing deterministically for the same price.
      Test Plan: ./validate
      Reviewers: austin, simonmar, bgamari, simonpj
      Reviewed By: simonpj
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D2124
      GHC Trac Issues: #4012
    • Simon Peyton Jones's avatar
      Tighten up imports on TcTyClsDecls · cdcf014d
      Simon Peyton Jones authored
    • Simon Peyton Jones's avatar
      Fix two buglets in 17eb2419 noticed by Richard · 61191dee
      Simon Peyton Jones authored
      These are corner cases in
         17eb2419 Refactor computing dependent type vars
      and I couldn't even come up with a test case
      * In TcSimplify.simplifyInfer, in the promotion step, be sure
        to promote kind variables as well as type variables.
      * In TcType.spiltDepVarsOfTypes, the CoercionTy case, be sure
        to get the free coercion variables too.
    • Simon Peyton Jones's avatar
      SCC analysis for instances as well as types/classes · 353d8ae6
      Simon Peyton Jones authored
      This big patch is in pursuit of Trac #11348.
      It is largely the work of Alex Veith (thank you!), with some
      follow-up simplification and refactoring from Simon PJ.
      The main payload is described in RnSource
        Note [Dependency analysis of type, class, and instance decls]
      which is pretty detailed.
      * There is a new data type HsDecls.TyClGroup, for a strongly
        connected component of type/class/instance/role decls.
        The hs_instds field of HsGroup disappears, in consequence
        This forces some knock-on changes, including a minor
        haddock submodule update
      Smaller, weakly-related things
      * I found that both the renamer and typechecker were building an
        identical env for RoleAnnots, so I put common code for
        RoleAnnotEnv in RnEnv.
      * I found that tcInstDecls1 had very clumsy error handling, so I
        put it together into TcInstDcls.doClsInstErrorChecks
    • Simon Peyton Jones's avatar
      Tighten up imports, white space · 7319b80a
      Simon Peyton Jones authored
    • Simon Peyton Jones's avatar
      Define NameSet.intersectFVs · 871f684d
      Simon Peyton Jones authored
      I want it for subsequent commits
    • Simon Peyton Jones's avatar
      Reduce use of instances in hs-boot files · 81aa3d1c
      Simon Peyton Jones authored
      Several things here
      * GHC no longer allows user-written Typeable instances,
        so remove them from hs-boot files.
      * Generally, reduce the use of instances in hs-boot files. They are
        hard to track.  Mainly this involves using pprType, pprKind etc
        instead of just ppr.  There were a lot of instances in hs-boot
        files that weren't needed at all.
      * Take TyThing out of Eq; it was used in exactly one place (in
        InteractiveEval), and equality is too big a hammer for that.
    • Ben Gamari's avatar
      Bump haddock submodule · 7f71dbe3
      Ben Gamari authored
      Install files necessary for --hyperlinked-source. Fixes #11949.
  4. 19 Apr, 2016 12 commits
  5. 18 Apr, 2016 6 commits
  6. 17 Apr, 2016 6 commits