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
3
votes
1 answer

Connecting to an Sqlite3 database with Haskell / Persistent

Please forgive how simple this question is. Google searches, the documentation, and the Yesod book seem to only explain how to do things with databases, but I have yet to see a straight forward explanation on how to actually connect to one. Any help…
subtlearray
  • 1,251
  • 1
  • 11
  • 23
3
votes
2 answers

Haskell, Hackage, GHC and productivity. How to solve a real example?

I don't know the best way to solve a simple (probably) problems (hackage related). I asked for help about it (http://stackoverflow.com/questions/12841599/haskell-hackage-ghc-and-productivity-what-to-do) but I knew not explain well. Today, I'm with a…
josejuan
  • 9,338
  • 24
  • 31
3
votes
3 answers

No haddock generated when upload package to hackages

After I upload my package into hackages, it didn't generate haddock as others packages. Anything I missed? What I did is: cabal dist and a package generated under dist directory. open hackage web upload interface and upload the package. open the…
Simon
  • 2,990
  • 3
  • 20
  • 17
2
votes
1 answer

Is there something similar to hackage for SML?

Since the language is fully standardized, that would be a quite useful resource.
Paul Brauner
  • 1,307
  • 1
  • 10
  • 17
2
votes
1 answer

Install package that is not on stackage but on hackage

I'm trying to use a library that's on hackage, but not on stackage. Currently, the code doesn't seem to be hosted on git anywhere (although I could "fork" it). Are there any better ways than to just download the library locally and tell stack.yaml…
Alex Coleman
  • 607
  • 1
  • 4
  • 11
2
votes
1 answer

Can I put a custom package link to stack.yaml?

In order to print pretty vertical tree, I searched google and found a package pretty-tree. I want to import this package, but the problem is: It seems that the Stackage LTS does not include this package. So when I add pretty-tree to package.yaml…
chansey
  • 1,266
  • 9
  • 20
2
votes
1 answer

How do I get my nightly Haskell package into Stackage LTS?

Though the latest version of my package is appearing as expected in Stackage Nightly, it is not appearing in LTS, and instead an older version is appearing there. How do I get the latest version to appear in LTS?
orome
  • 45,163
  • 57
  • 202
  • 418
2
votes
1 answer

Why isn't my documentation showing up in Hackage?

Documentation for my recently updated package on Hackage isn't showing up, even though it has now been a few days since the update. The previous version had complete documentation, and I've made no changes in this update that would have affected…
orome
  • 45,163
  • 57
  • 202
  • 418
2
votes
1 answer

How to get updated upper bounds for a Hackage package?

A common problem with upper bounds is that package authors being uncertain opt for conservative upper bounds of their dependencies (e.g. base). This tends to be an unpopular choice for users which may be prevented from using such packages in the…
sevo
  • 4,559
  • 1
  • 15
  • 31
2
votes
1 answer

Haddock - Data record fields names not being generated

I'm having trouble getting haddock to display the field names of my data records. Some of my data types have many different numeric values, so documenting the names is key. An example data record: -- | API response container for daily price…
aviaviavi
  • 188
  • 9
2
votes
1 answer

Remove Stack/Cabal packages and install older versions

I'm new to Haskell and am using Stack to build a small personal project on Mac OSX. I've recently added some new build-deps to my cabal file but now when I run stack build, I get the following error: -- While attempting to add dependency, Could…
accraze
  • 1,522
  • 7
  • 20
  • 46
2
votes
1 answer

Installing a Haskell package from Hackage through Cabal gets stuck at dependency resolution

Here is the output from verbose mode. I know this used to work for me before but now this happens. I've tried it with other packages and got the same result. $ sudo cabal install test-framework-quickcheck2 -v /usr/local/bin/ghc…
Chry Cheng
  • 3,378
  • 5
  • 47
  • 79
2
votes
1 answer

source database for testing optimizer

I need to test my haskell optimizer on a collection of source code, and I'm currently trying to run the optimizer on the packages tagged as program on hackage. However it is a pain in the neck to compile them (dependencies) and get them up running…
rem
  • 893
  • 4
  • 18
2
votes
1 answer

How do I know who to blame for hackage inconsistencies

Trying to install criterion, I run into troubles with other packages that I rely on wanting to be reinstalled. Reinstalling them breaks everything (I've tried). $ cabal install criterion Resolving dependencies... In order, the following would be…
Fredrik Karlsson
  • 485
  • 8
  • 21
2
votes
3 answers

Cabal and zlib on OS X

When I run "cabal update" on my Mac (Snow Leopard, Intel), I get: % cabal update Downloading the latest package list from hackage.haskell.org cabal: Codec.Compression.Zlib: incompatible zlib version Anyone else seeing this? Reinstalling the Haskell…
Bill
  • 44,502
  • 24
  • 122
  • 213