@hackage cabal-ghci0.1

Set up ghci with options taken from a .cabal file

The executable cabal-ghci runs ghci with the paths and extensions needed by a cabal project. The cabalSet function can be added to your .ghci to provide the same functionality at runtime, giving you more control over the options that are set: :m + Distribution.Dev.Interactive :def cabalset cabalSet :cabalset Both cabal-ghci and cabalset can take cabal flags and an executable name as arguments. For example: Prelude> :cabalset -fdevel up1 :set "-ihomeatnnnup1srcdistbuild/autogen" :set "-ihomeatnnnup1src/web" :set "-XTypeFamilies" :set "-XQuasiQuotes"