Giter VIP home page Giter VIP logo

composition's People

Contributors

athanclark avatar danburton avatar fwcd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

composition's Issues

Unable to load with the latest Stack Version 1.1.2 x86_64 hpack-0.14.0.

Hi,

I am getting

Failed to load interface for ‘Data.Composition’
It is a member of the hidden package ‘composition-1.0.2.1’.
Perhaps you need to add ‘composition’ to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.

when I try to add the lib into my stakc.yaml and .cabal file.

, composition-1.0.2.1 in extra-deps:

and

, composition in build-depends:

Thanks for any advice.

Inlining

-- | Function composition.
{-# INLINE (.) #-}
-- Make sure it has TWO args only on the left, so that it inlines
-- when applied to two functions, even if there is no final argument
(.) :: (b -> c) -> (a -> b) -> a -> c
(.) f g = \x -> f (g x)

The INLINE pragma and the definition with the right arity could be used
in Data.Composition as well, and it would yield the same results.

Operator conflict

What package has conflicting operators that makes you declare 2 different operator .: .*?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.