Last active
August 29, 2015 14:02
-
-
Save ScriptDevil/9c22912ddadeed42a1cd to your computer and use it in GitHub Desktop.
Haskell Data Analysis Cookbook - Package List
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# I intend this to be a readable/executable script for installing all | |
# the packages discussed in "Haskell Data Analysis Cookbook" by | |
# Nishant Shukla | |
# Use cabal > 1.18 since I use sandboxes for the code here | |
# I use sandboxes because I have found that package conflicts | |
# (mostly because of version number issues) are terribe to deal with | |
# in Haskell. Use a script like the one in | |
# https://gist.github.com/cstrahan/8984109 | |
# to use the sandbox's package db. The gist works for me in zsh. | |
# Run in the root of the directory you maintain examples from this | |
# book. | |
cabal sandbox init | |
# I will fill in this gist as and when I finish chapters in the book | |
# Chapter 1 | |
## CSV - For parsing CSV files | |
cabal install csv | |
## Aeson - For parsing JSON files | |
cabal install aeson | |
## HXT - For parsing XML files | |
cabal install hxt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment