1. 17 Mar, 2015 1 commit
    • thomie's avatar
      hpc: use System.FilePath.(</>) instead of (++) · 801f4b98
      thomie authored
      Summary:
      BAD: "." ++ "/" ++ "/absolute/path" == ".//absolute/path"
      GOOD: "." </> "/absolute/path" == "/absolute path"
      
      Also replace `++ ".ext"` with `<.> "ext"`. Although it doesn't fix any
      bugs in this instance, it might in some other. As a general rule it's
      better not to use (++) on FilePaths.
      
      Reviewed By: austin, hvr
      
      Differential Revision: https://phabricator.haskell.org/D703
      
      GHC Trac Issues: #10138
      801f4b98
  2. 17 Feb, 2015 1 commit
  3. 01 Nov, 2014 1 commit
  4. 02 Oct, 2014 2 commits
  5. 01 Oct, 2014 1 commit
    • David Feuer's avatar
      Use dropWhileEndLE p instead of reverse . dropWhile p . reverse · 2a885688
      David Feuer authored
      Summary: Using `dropWhileEndLE` tends to be faster and easier to read
      than the `reverse . dropWhile p . reverse` idiom. This also cleans up
      some other, nearby, messes. Fix #9616 (incorrect number formatting
      potentially leading to incorrect numbers in output).
      
      Test Plan: Run validate
      
      Reviewers: thomie, rwbarton, nomeata, austin
      
      Reviewed By: nomeata, austin
      
      Subscribers: simonmar, ezyang, carter, thomie
      
      Projects: #ghc
      
      Differential Revision: https://phabricator.haskell.org/D259
      
      GHC Trac Issues: #9623, #9616
      
      Conflicts:
      	compiler/basicTypes/OccName.lhs
      2a885688
  6. 21 Sep, 2014 1 commit
  7. 15 May, 2014 1 commit
  8. 14 May, 2014 1 commit
  9. 17 Feb, 2014 1 commit
  10. 11 Oct, 2013 1 commit
  11. 01 Oct, 2013 1 commit
  12. 03 Mar, 2013 1 commit
    • ian@well-typed.com's avatar
      Automatically add the $(exeext) to program names · 2b85372c
      ian@well-typed.com authored
      We now define _PROGNAME, and _PROG is automatically defined with
      $(exeext). This will shortly automatically use the right exeext
      depending on what stage it is being compiled with (exeext may be
      different for different stages when cross-compiling).
      2b85372c
  13. 23 Nov, 2012 3 commits
  14. 14 Oct, 2012 2 commits
  15. 03 Oct, 2012 1 commit
    • ian@well-typed.com's avatar
      Build the dynamic way by default on Linux/amd64 · 898cb090
      ian@well-typed.com authored
      This required various build system changes to get the build to go
      through.
      
      In the inplace shell wrappers, we set LD_LIBRARY_PATH to allow programs
      to find their libraries. In the future, we might change the inplace tree
      to be the same shape as an installed tree instead. However, this would
      mean changing the way we do installation, as currently we use cabal's
      installation methods to install the libraries, but that only works if
      the libraries are under libraries/foo/dist-install/build/..., rather
      than in inplace/lib/...
      898cb090
  16. 09 Sep, 2012 1 commit
  17. 19 Jul, 2012 1 commit
  18. 16 Jul, 2012 1 commit
  19. 12 Oct, 2011 1 commit
  20. 28 May, 2011 1 commit
  21. 18 Dec, 2010 1 commit
  22. 16 Dec, 2010 1 commit
  23. 15 Dec, 2010 1 commit
  24. 17 Nov, 2010 1 commit
  25. 06 Oct, 2010 1 commit
  26. 30 Jul, 2010 1 commit
    • simonpj@microsoft.com's avatar
      Work around missing type signature in Happy · c800c163
      simonpj@microsoft.com authored
      Happy generates
      
            notHappyAtAll = error "Blah"
      
      without a type signature, and currently the new
      typechecker doesn't generalise it.  This patch
      says "no monomorphism restriction" which makes it
      generalise again.
      
      Better would be to add a type sig to Happy's template
      c800c163
  27. 03 Dec, 2009 2 commits
  28. 29 Nov, 2009 1 commit
  29. 07 Jul, 2009 1 commit
  30. 01 Jul, 2009 1 commit
  31. 08 Jun, 2009 1 commit
  32. 28 Apr, 2009 1 commit
  33. 26 Apr, 2009 1 commit
  34. 24 Apr, 2009 1 commit
  35. 20 Sep, 2008 1 commit