dropWhileEndLE breakage

2014-10-02 Thread Simon Peyton Jones
What's going on here?   No other library module defines this function, except 
in Cabal!
Simon


libraries\base\GHC\Windows.hs:124:16:

Not in scope: 'dropWhileEndLE'

Perhaps you meant 'dropWhileEnd' (imported from Data.OldList)

libraries/base/ghc.mk:4: recipe for target 
'libraries/base/dist-install/build/GHC/Windows.o' failed
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: dropWhileEndLE breakage

2014-10-02 Thread Austin Seipp
(Replying to ghc-devs@ as well.)

-

Yes, you're quite right. I think a part of the original diff was
actually  missing.

Please update/rebase your tree. I've reverted this in
d6d5c127b86dc186b25add2843cb83fc12e72a85

On Thu, Oct 2, 2014 at 2:48 PM, Simon Peyton Jones
simo...@microsoft.com wrote:
 What’s going on here?   No other library module defines this function,
 except in Cabal!

 Simon



 libraries\base\GHC\Windows.hs:124:16:

 Not in scope: ‘dropWhileEndLE’

 Perhaps you meant ‘dropWhileEnd’ (imported from Data.OldList)

 libraries/base/ghc.mk:4: recipe for target
 'libraries/base/dist-install/build/GHC/Windows.o' failed


 ___
 ghc-devs mailing list
 ghc-devs@haskell.org
 http://www.haskell.org/mailman/listinfo/ghc-devs




-- 
Regards,

Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: dropWhileEndLE breakage

2014-10-02 Thread David Feuer
Simon Peyton Jones asked
 What's going on here?   No other library module defines this function, except 
 in Cabal!
 Simon

That was my fault; I'm very sorry. I had added that function (similar
to Data.List.dropWhileEnd, but not the same) to
compiler/utils/Util.lhs and to another module that used it, and then
forgot it was not available in libraries/base/GHC/.  Since neither
Phab nor I run Windows, there was little hope of catching the mistake
before it went out. I believe Joachim Breitner has fixed the problem
now by using Data.List.dropWhileEnd to construct that error
message—the difference in behavior doesn't matter there.

David Feuer
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs