Code Monkey home page Code Monkey logo

Comments (4)

ndmitchell avatar ndmitchell commented on May 18, 2024

I had similar discussions with @NoMeta in ndmitchell/shake#100 - basically I don't think it's useful to my users, but if it's useful to Debian, I'm happy to dump something in the tarball if you send me a patch. However, it occurs to me that if there was a Haskell library jquery, with the two functions getJQuery :: IO String (get the jQuery source) and getJQueryFile :: IO FilePath` (find where I put it) then both Shake and Hoogle (and likely lots of other libraries) could depend on it. The Debian team could then package one single library with whatever constraints you need (you could even have one of you guys write the package) and you'd probably save work in the long run.

from hoogle.

iustin avatar iustin commented on May 18, 2024

I see. The problem is not only about jquery - you're using also jquery-cookie (but you're shipping that non-minified, so it's good for now), so it would have to be a slightly more generic solution.

Let me think on how this would work for both normal Cabal/Hackage use and Debianized packages.

from hoogle.

ndmitchell avatar ndmitchell commented on May 18, 2024

The plugins that people layer on top are far simpler and far smaller, so not much of an issue. If the Haskell JQuery package wanted to ship 100 common plugins then it could easily do with barely any increase in size and no increase in dependencies.

from hoogle.

ndmitchell avatar ndmitchell commented on May 18, 2024

Fixed in the next version (which is currently at https://github.com/ndmitchell/hogle) by using the js-jquery package on Hackage, which ships the sources properly. All other jQuery addins are shipped unminified.

from hoogle.

Related Issues (20)

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.