Questions tagged [hackage]

Hackage is the central package archive for open-source software in the Haskell programming language.

Hackage is the central package archive for open-source software in the Haskell programming language. Typical tools to fetch and install packages from hackage are and .

119 questions
7
votes
1 answer

Is it possible to see package download stats from Hackage?

It looks like there are reports released on occasion that detail downloads for some of the top packages (http://haskellwebnews.wordpress.com/2011/03/16/hackage-stats-the-past-year/). Is it possible to see updated stats for individual packages?
Ben Hamner
  • 4,575
  • 4
  • 30
  • 50
6
votes
0 answers

finding reverse dependencies of package on `hackage`

The website packdeps allows to search for reverse dependencies of libraries published on hackage. However, not every package from hackage seem to be listed there, say algebraic-classes Is there any alternative way to find the reverse dependencies of…
nicolas
  • 9,549
  • 3
  • 39
  • 83
6
votes
2 answers

Authentication for hackage downloads?

Is there any way to ensure authenticity of downloads from hackage? As far as I can see, there's nothing. No https for hackage, and neither (strong) checksums for tarballs, and neither are they signed. So: how can I verify the authenticity of…
iustin
  • 343
  • 1
  • 11
6
votes
3 answers

hackage package dependencies and future-proof libraries

In the dependencies section of a cabal file: Build-Depends: base >= 3 && < 5, transformers >= 0.2.0 Should I be doing something like Build-Depends: base >= 3 && < 5, transformers >= 0.2.0 && < 0.3.0 (putting upper limits on versions of packages I…
yairchu
  • 23,680
  • 7
  • 69
  • 109
6
votes
1 answer

Configure cabal upload to work with local hackage-server

I have a local hackage-server installed for development at 192.168.1.100:8080. After I develop, and package a package with cabal sdist I have to head to 192.168.1.100:8080 on my browser and manually upload the package. This is extremely tedious,…
iamnat
  • 4,056
  • 1
  • 23
  • 36
6
votes
1 answer

Control.Monad.Writer found in multiple packages haskell

I tried to import the Control.Monad.Writer module like this: import Control.Monad.Writer ghc version 7.4.1 gives the following error: Ambiguous module name `Control.Monad.Writer': it was found in multiple packages: monads-tf-0.1.0.1…
jules
  • 1,897
  • 2
  • 16
  • 19
6
votes
1 answer

User name for HackageDB?

I want to upload a package to HackageDB, and since I'm new to this I need user name and password. It says here I'm supposed to write to Ross Paterson. I've been trying for some weeks, but got no response. Is this just taking some time, or has the…
martingw
  • 4,153
  • 3
  • 21
  • 26
6
votes
1 answer

Installing packages (via cabal) from "local hackage"

Is it possible to get cabal to Download a particular package source, including all dependency packages sources. At a later stage (when internet connectivity can no longer be relied upon) install these packages via cabal, from the locally…
artella
  • 5,068
  • 4
  • 27
  • 35
6
votes
2 answers

Commutative monoid from 'algebra' package on Hackage

The documentation for algebra/2.1.1.2/doc/html shows a colossal number of type classes. How do I declare that a structure in question must be equipped with a commutative associative operation and a unit/identity element, but without anything else…
nponeccop
  • 13,527
  • 1
  • 44
  • 106
6
votes
2 answers

How to delete a package from HackageDB?

I have uploaded a package with incorrect name (typo) to http://hackage.haskell.org/ In the hope of not messing up HackageDB, I'm wondering if any approach to delete that package. Thanks a lot your help.
Simon
  • 2,990
  • 3
  • 20
  • 17
6
votes
3 answers

Source code for standard typeclass instance declarations

I was wondering about the Ord instance declaration for (a,b), and I wanted to do a quick lookup on hackage to confirm my intuition that the comparison is first on a and then, in case of equality, on b. Specifically I went here. Since hackage has…
Boris
  • 5,094
  • 4
  • 45
  • 71
5
votes
1 answer

category-extras needed, but the stack configuration has no specified version

I am writing a small Haskell program which need import two modules Control.Functor.Algebra and Control.Morphism.Hylo. I searched the google. These two modules can be found in category-extras. So I added category-extras to…
chansey
  • 1,266
  • 9
  • 20
5
votes
1 answer

Managing hackage releases

Currently, when I want to update one of my hackage packages, I go through this process. Push the changes to github Wait for travis-ci to run on the changes, to ensure I'm not getting any build errors. Upload to hackage Tag the release in…
Clinton
  • 22,361
  • 15
  • 67
  • 163
5
votes
1 answer

Cabal installing quickcheck version problem

I'm trying to install quickcheck 2 via cabal on Ubuntu 10.04. No matter what I try to do, I always end up with the following: $ cabal list quickcheck * QuickCheck Synopsis: Automatic testing of Haskell programs Latest version available:…
qrest
  • 3,083
  • 3
  • 25
  • 26
5
votes
4 answers

How are all graphic and web libraries implemented in Haskell?

I only begin to learn Haskell. I've read that it is a pure functional language and everything in it is immutable. So things like input output, writing and reading databases cause mutability of the state. I know there is a thing in Haskell called…
MainstreamDeveloper00
  • 8,436
  • 15
  • 56
  • 102