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

install haskell cabal w/o manual dependency resolution

I see there's a nice package system called Cabal that handles dependency resolution. So I'm trying to install that so I can get it to install the Haskell OpenGL modules for me. However, Cabal itself has lots of dependencies. Is there a way to…
nont
  • 9,322
  • 7
  • 62
  • 82
5
votes
3 answers

Coloring console output in windows

I was trying to find if it is possible to colour console output in windows system. I found that Console - Ansi but i cant find any information about coloring output in windows prompt. I woudl appreciate information about my problem.
whd
  • 1,819
  • 1
  • 21
  • 52
4
votes
1 answer

Find the package a Haskell module belongs to

I'm new to Haskell stack and wondering how to find out the name of the package that contains a particular module. Currently, I want to use Data.Tuple.Extra(fst3) ( https://hackage.haskell.org/package/extra-1.7.9/docs/Data-Tuple-Extra.html ) and want…
Ryo
  • 317
  • 1
  • 7
4
votes
1 answer

What's the best hierarchical module path for an OpenCL-Haskell library?

I'm creating a OpenCL high-level haskell library. Where's the best path in haskell tree for put it? I think it should be outside of Graphics subtree but I dont know where to put it. It's based on Jeff Heard OpenCLRaw (He put that one on…
Zhen
  • 4,171
  • 5
  • 38
  • 57
4
votes
2 answers

Package build failure on Hackage

I uploaded my first package to Hackage ( http://hackage.haskell.org/package/groundhog-0.0.1) and it failed to build with error: *** setup configure Configuring groundhog-0.0.1... cabal-setup: At least the following dependencies are…
Boris
  • 614
  • 3
  • 10
4
votes
1 answer

How to instruct haddock to link to hackage documentation for hackage packages?

So, I am using haddock (through cabal) to generate documentation for my local Haskell package. It has no trouble hyperlinking its own local html documents to each other. However, whenever my package references a symbol from another package, it does…
PyRulez
  • 10,513
  • 10
  • 42
  • 87
4
votes
1 answer

How is the new “DL” ranking in the Hackage package search calculated?

The Hackage package search as of now doesn't just give a list of all matches as it used to do, but allows sorting them in various ways. Notably, it is now possible to sort by rating, i.e. by how satisfied users were with the package (if people will…
leftaroundabout
  • 117,950
  • 5
  • 174
  • 319
4
votes
1 answer

Which dialect of Markdown does Hackage use to render READMEs?

Hackage has been able to display Markdown READMEs for a while. But as one can see for example on the Hackage page for hpack, Hackage doesn't seem to support the same table syntax as GitHub. Markdown: #### Flags | Hpack | Cabal |…
sjakobi
  • 3,546
  • 1
  • 25
  • 43
4
votes
1 answer

Are modules expected to stabilize over time on Hackage?

To newcomers it might be surprising that many modules on Hackage are marked as experimental, even modules as basic as Data.Bool. Is there any process or expectation for modules to become stable and especially base? Should we pay any attention to…
sevo
  • 4,559
  • 1
  • 15
  • 31
4
votes
2 answers

Does Hackage have an API?

I want to be able to search for a package and get a download link as well as a list of all the dependencies. Is there an easy way to do this through the command line or a Haskell module?
Vlad the Impala
  • 15,572
  • 16
  • 81
  • 124
3
votes
1 answer

How do indicate that a Haskell package is in either an alpha/beta/release candidate stage?

Let us say that I have worked on a haskell library and am now ready to release a beta version of the software to hackage/make repo public on github etc. Possible Solutions and why they do not work for me Use packagename-0.0.0.1-alpha or similar.…
Naitik Mundra
  • 418
  • 3
  • 14
3
votes
1 answer

How to include hackage packages into Leksah

I wanted to start playing with hExpat for Xml I/O with Haskell. However I didn't manage to find where to express to Leksah that I want to import that package into my current module. Could you tell me how to achieve this ? EDIT: still searching.…
Stephane Rolland
  • 38,876
  • 35
  • 121
  • 169
3
votes
1 answer

How to tell if a haskell sourcecode has Bang

Is there any library function that tells if a given .hs file uses strictness annotation? Or do I have to go into the syntax tree?
rem
  • 893
  • 4
  • 18
3
votes
2 answers

In Haskell looking for a package that allows to consume a web response body as a stream

from RWH http://book.realworldhaskell.org/read/extended-example-web-client-programming.html The HTTP library used here does not read the HTTP result lazily. As a result, it can result in the consumption of a large amount of RAM when downloading…
Sadache
  • 651
  • 5
  • 10
3
votes
1 answer

cabal: dist/doc/html/creatur/haddock-prolog27972.txt: invalid argument

When I run cabal haddock on my package, I don't get any errors. But I've uploaded the package to Hackage, and the build log includes this message: cabal: dist/doc/html/creatur/haddock-prolog27972.txt: invalid argument I assume this is why the…
mhwombat
  • 8,026
  • 28
  • 53