Popularity
4.4
Declining
Activity
0.0
Stable
2
5
1

Monthly Downloads: 8
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Development    

cabal2ghci alternatives and similar packages

Based on the "Development" category.
Alternatively, view cabal2ghci alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of cabal2ghci or a related project?

Add another 'Development' Package

README

cabal2ghci

This is the tool to automatically generate .ghci file and .stylish-haskell.yaml file from .cabal. It processes following things:

  • Language Pragmas
  • hs-src-dirs

Installation

$ cabal install cabal2ghci

Usage

$ cabal2ghci
$ cabal2ghci -c foo.cabal
$ cabal2ghci --nostylish

Integration with haskell-mode

(add-hook 'haskell-mode-hook 'cabal2ghci-haskell-hook)
(defun my-before-save-hook ()
  (ignore-errors (call-process "cabal2ghci")))

(defun cabal2ghci-haskell-hook ()
  (add-hook 'before-save-hook 'my-before-save-hook)