Comments (4)
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.
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.
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.
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)
- Linear type support HOT 1
- Support search for type instances HOT 3
- Type signature displayed in Hoogle is inconsistent with type signature in source HOT 2
- The OpenSearch description specifies a broken suggestions endpoint
- Hoogle can't find bisequence unless type constraints are specified
- Find generic versions of the same function HOT 1
- Hoogle Web: Shortcut to switch focus to input id=hoogle HOT 2
- Can't find anything? that isn't a type variable?
- Properly support XDG Base Directory Specification
- Accommodate `${pkgroot}`, used in `haddock-html` in GHC boot libraries since GHC 9.0.1
- Can't find `MonadTrans`
- `hoogle generate` times out HOT 2
- Should have option to depend on crypton-x509 HOT 2
- release new hoogle to hackage HOT 3
- How to use settings.txt? HOT 2
- Is it possible to search by partial signature?
- Error: cabal: Failed to build warp-3.3.25 HOT 7
- Search hoogle server via CLI HOT 1
- request to replace dependency `connection` with `crypton-connection` or other fork HOT 2
- Packages missing documentation on GHC 9.4 & 9.6 HOT 1
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 hoogle.