vk0qqq
Last Updated: February 25, 2016
·
458
· coldgrnd
Oli

concise overview of available hackage stuff

when searching for projects on hackage I usually first consult cabal, e.g.:

cabal list pipes

the output is rather verbose and never fits on one page:

* pipes
    Synopsis: Compositional pipelines
    Default available version: 4.0.0
    Installed versions: 4.0.0
    License:  BSD3

* pipes-aeson
    Synopsis: Encode and decode JSON streams using Aeson and Pipes.
    Default available version: 0.2.0
    Installed versions: [ Not installed ]
    Homepage: https://github.com/k0001/pipes-aeson
    License:  BSD3

* pipes-attoparsec
...

a much better way to gain a simple overview:

cabal list pipes --simple-output | awk '{print $1}' | uniq

much easier to process:

pipes
pipes-aeson
pipes-attoparsec
pipes-attoparsec-streaming
pipes-binary
pipes-bytestring
pipes-concurrency
pipes-conduit
...
Say Thanks
Respond
Filed Under