Comments (5)
from cabal-lenses.
great!
from cabal-lenses.
http://packdeps.haskellers.com/reverse/cabal-lenses
since you've authored both reverse dependencies (i.e. breakages can be handled), would you like me to make it build without warnings under -Wall
on ghc 7.10.1? e.g.
lib/CabalLenses/Version.hs:12:1:
Warning:The import of Control.Applicativeis redundant except perhaps to import instances fromControl.Applicative
it would of course break the build on earlier compiler versions.
either way, I think it needs a major version bump for the updated Cabal version.
from cabal-lenses.
Hi Sam,
On Thu, Oct 15, 2015 at 07:53:06AM -0700, Sam Boosalis wrote:
since you've authored both reverse dependencies (i.e. breakages can be
handled), would you like me to make it build without warnings under -Wall on
ghc 7.10.1? e.g.
Just -W is enough.
lib/CabalLenses/Version.hs:12:1:
Warning:The import of Control.Applicativeis redundant except perhaps to import instances fromControl.Applicativeit would of course break the build on earlier compiler versions.
You can use:
#if GLASGOW_HASKELL < 710
import Control.Applicative ((<$>))
#endif
either way, I think it needs a major version bump for the updated Cabal
version.
Why that?
Greetings,
Daniel
from cabal-lenses.
- cool, haven't used CPP before. that seems better.
also to avoid shadowing warnings, I hoisted some helper functions to the top
level, but didn't export them. (I'll put all this in the commit message, where it's in context). I've been
bitten by name shadowing before (after a re-factoring), so I think it's a
good idea anyway.
also, added an explicit PatternGuards extension to silence another warning.
- oops, I misread cabal's latest version (1.22.4) as 1.24
On Thu, Oct 15, 2015 at 11:28 AM, Daniel Trstenjak <[email protected]
wrote:
Hi Sam,
On Thu, Oct 15, 2015 at 07:53:06AM -0700, Sam Boosalis wrote:
since you've authored both reverse dependencies (i.e. breakages can be
handled), would you like me to make it build without warnings under
-Wall on
ghc 7.10.1? e.g.Just -W is enough.
lib/CabalLenses/Version.hs:12:1:
Warning:The import of Control.Applicativeis redundant except perhaps to
import instances fromControl.Applicativeit would of course break the build on earlier compiler versions.
You can use:
#if GLASGOW_HASKELL < 710
import Control.Applicative ((<$>))
#endifeither way, I think it needs a major version bump for the updated Cabal
version.Why that?
Greetings,
Daniel—
Reply to this email directly or view it on GitHub
#4 (comment).
(this message was composed with dictation: charitably interpret typos)Sam
Boosalis
from cabal-lenses.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cabal-lenses.