Re: [Haskell-cafe] Using a library in a executable within same cabal package

2010-04-24 Thread Magnus Therning
On 24/04/10 11:01, Arnaud Bailly wrote: Hello, Not sure this question is totally on-topic. Please point me in the right direction if it is not. I would like to make a cabal package containing both an executable and several libraries, and link the main executable to the libraries produced in

Re: [Haskell-cafe] Using a library in a executable within same cabal package

2010-04-24 Thread Ivan Lazar Miljenovic
Arnaud Bailly abai...@oqube.com writes: Not sure this question is totally on-topic. Sure is. Please point me in the right direction if it is not. I would like to make a cabal package containing both an executable and several libraries, Each cabal package can contain only one library (which

Re: [Haskell-cafe] Using a library in a executable within same cabal package

2010-04-24 Thread Arnaud Bailly
You are right, I hit reply without checking the destination. Thanks for your answer. Arnaud On Sat, Apr 24, 2010 at 3:24 PM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: First of all, did you mean to reply back to -cafe as well? Arnaud Bailly arnaud.oq...@gmail.com writes: I was