Re: [Haskell-cafe] ANN: cabal-ghci 0.1
On Fri, Sep 9, 2011 at 22:17, Jason Dagit wrote: > On Thu, Sep 8, 2011 at 11:06 PM, Etienne Laurin wrote: >> Hello fellow hackers. >> >> Here is a helpful package I wrote to ease the development of projects >> using cabal. >> >> It includes a :cabalset ghci command to set ghci options for your >> project, and a cabal-ghci executable to launch ghci with those >> options. > > Is :cabalset custom per project or could I put the same things in my ~/.ghci? Did you know you can also put a .ghci file in your project dir, and if you start ghci from that dir, it will also load that file? I think that allows you to replicate some of the functionality of this tool, since it allows per project ghci options. Erik ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] ANN: cabal-ghci 0.1
On Fri, Sep 9, 2011 at 2:44 PM, Etienne Laurin wrote: >>> Here is a helpful package I wrote to ease the development of projects >>> using cabal. >> >> Is :cabalset custom per project or could I put the same things in my ~/.ghci? > > Everytime I run :cabalset or cabal-ghci, it looks for a .cabal file in > my current directory or any of its parents, it loads the cabal file > and it generates a list of ghci options for that project. > >> Did you know that cabal-dev supports loading your project into ghci? > > Yes :) > > Sadly, some of my test and build scripts don't yet work with cabal-dev. It sounds like the two projects (cabal-ghci and cabal-dev) should get merged. It sounds like the cabal-ghci features would compliment the other cabal-dev features. Or maybe cabal should support "plugins" in the way hledger and git supports them. Food for thought. Thanks for explaining the difference! Jason ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] ANN: cabal-ghci 0.1
> thank you very much for this helpful tool! :) > I notice that Haddock has trouble parsing the documentation: > > http://hackage.haskell.org/packages/archive/cabal-ghci/0.1/logs/failure/ghc-7.2 > > Is that error hard to fix? I have uploaded a new version of the source with haddock documentation. Etienne Laurin ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] ANN: cabal-ghci 0.1
>> Here is a helpful package I wrote to ease the development of projects >> using cabal. > > Is :cabalset custom per project or could I put the same things in my ~/.ghci? Everytime I run :cabalset or cabal-ghci, it looks for a .cabal file in my current directory or any of its parents, it loads the cabal file and it generates a list of ghci options for that project. > Did you know that cabal-dev supports loading your project into ghci? Yes :) Sadly, some of my test and build scripts don't yet work with cabal-dev. > (I'm trying to understand how cabal-ghci is different than existing tools.) ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] ANN: cabal-ghci 0.1
On Thu, Sep 8, 2011 at 11:06 PM, Etienne Laurin wrote: > Hello fellow hackers. > > Here is a helpful package I wrote to ease the development of projects > using cabal. > > It includes a :cabalset ghci command to set ghci options for your > project, and a cabal-ghci executable to launch ghci with those > options. Is :cabalset custom per project or could I put the same things in my ~/.ghci? Did you know that cabal-dev supports loading your project into ghci? (I'm trying to understand how cabal-ghci is different than existing tools.) Jason ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] ANN: cabal-ghci 0.1
Hi Etienne, > Here is a helpful package I wrote to ease the development of projects > using cabal. thank you very much for this helpful tool! I notice that Haddock has trouble parsing the documentation: http://hackage.haskell.org/packages/archive/cabal-ghci/0.1/logs/failure/ghc-7.2 Is that error hard to fix? Take care, Peter ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe