1. 15 May, 2012 2 commits
    • pcapriotti's avatar
      Rename package-conf flags to package-db. · ca2debb2
      pcapriotti authored
      Rename package database flags in both GHC and ghc-pkg so that they are
      consistent with Cabal nomenclature.
      
      Add a version check to the build system so that the correct set of
      package db flags are used when the bootstrapping GHC has version < 7.5.
      ca2debb2
    • pcapriotti's avatar
      Add flags to manipulate package db stack (#5977) · 6a831be4
      pcapriotti authored
      Introduce new flags to allow any package database stack to be set up.
      The `-no-user-package-conf` and `-no-global-package-conf` flags remove
      the corresponding package db from the initial stack, while
      `-user-package-conf` and `-global-package-conf` push it back on top of
      the stack.
      6a831be4
  2. 14 May, 2012 3 commits
    • Ian Lynagh's avatar
      Tweak the lexer: In particular, improve notFollowedBy and friends · c250f93b
      Ian Lynagh authored
      We were hitting a problem when reading the LANGUAGE/OPTIONS pragmas
      from GHC.TypeLits, where the buffer ended "{-". The rules for the
      start-comment lexeme check that "{-" is not followed by "#", but the
      test returned False when there was no next character. Therefore we
      were lexing this as as an open-curly lexeme (only consuming the "{",
      and not reaching the end of the buffer),
      which meant the options parser think that it had reached the end of
      the options.
      
      Now we correctly lex as "{-".
      c250f93b
    • pcapriotti's avatar
      Use pprInfixName in pprInfo (#6091) · 6406cd29
      pcapriotti authored
      Surround a name in backticks when printing an infix declaration in GHCi.
      6406cd29
    • Simon Peyton Jones's avatar
      Fix the the pure unifier so that it unifies kinds · 6c3045b9
      Simon Peyton Jones authored
      When unifying two type variables we must unify their kinds.
      The pure *matcher* was doing so, but the pure *unifier* was not.
      This patch fixes Trac #6015, where an instance lookup was failing
      when it should have succeeded.
      
      I removed a bunch of code aimed at support sub-kinding. It's
      tricky, ad-hoc, and I don't think its necessary any more.
      Anything we can do to simplify the sub-kinding story is welcome!
      6c3045b9
  3. 11 May, 2012 4 commits
  4. 10 May, 2012 2 commits
  5. 09 May, 2012 10 commits
  6. 08 May, 2012 3 commits
  7. 07 May, 2012 8 commits
  8. 06 May, 2012 5 commits
  9. 05 May, 2012 2 commits
  10. 04 May, 2012 1 commit