Fri May 29 06:11:37 PDT 2009  [email protected]
  * Implement -XMonoLocalBinds: a radical new flag
  Ignore-this: b52744bdde2e8ea52a9b6d4374a3e049
  
  The new flag -XMonoLocalBinds tells GHC not to generalise nested
  bindings in let or where clauses, unless there is a type signature,
  in which case we use it.  
  
  I'm thinking about whether this might actually be a good direction for
  Haskell go to in, although it seems pretty radical.  Anyway, the flag
  is easy to implement (look at how few lines change), and having it
  will allow us to experiement with and without.
  
  Just for the record, below are the changes required in the boot 
  libraries -- ie the places where.  Not quite as minimal as I'd hoped,
  but the changes fall into a few standard patterns, and most represent
  (in my opinion) sytlistic improvements.  I will not push these patches,
  however.
  
  == running darcs what -s --repodir libraries/base
  M ./Control/Arrow.hs -2 +4
  M ./Data/Data.hs -7 +22
  M ./System/IO/Error.hs +1
  M ./Text/ParserCombinators/ReadP.hs +1
  == running darcs what -s --repodir libraries/bytestring
  M ./Data/ByteString/Char8.hs -1 +2
  M ./Data/ByteString/Unsafe.hs +1
  == running darcs what -s --repodir libraries/Cabal
  M ./Distribution/PackageDescription.hs -2 +6
  M ./Distribution/PackageDescription/Check.hs +3
  M ./Distribution/PackageDescription/Configuration.hs -1 +3
  M ./Distribution/ParseUtils.hs -2 +4
  M ./Distribution/Simple/Command.hs -1 +4
  M ./Distribution/Simple/Setup.hs -12 +24
  M ./Distribution/Simple/UserHooks.hs -1 +5
  == running darcs what -s --repodir libraries/containers
  M ./Data/IntMap.hs -2 +2
  == running darcs what -s --repodir libraries/dph
  M ./dph-base/Data/Array/Parallel/Arr/BBArr.hs -1 +3
  M ./dph-base/Data/Array/Parallel/Arr/BUArr.hs -2 +4
  M ./dph-prim-par/Data/Array/Parallel/Unlifted/Distributed/Arrays.hs -6 +10
  M ./dph-prim-par/Data/Array/Parallel/Unlifted/Distributed/Combinators.hs -3 +6
  M ./dph-prim-seq/Data/Array/Parallel/Unlifted/Sequential/Flat/Permute.hs -2 +4
  == running darcs what -s --repodir libraries/syb
  M ./Data/Generics/Twins.hs -5 +18
  
  

    M ./compiler/main/DynFlags.hs +2
    M ./compiler/typecheck/TcBinds.lhs -4 +6

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090529131137-1287e-7a12438d1ea6bb8db8958eeb2e6692f40933ead7.gz

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to