Re: [Haskell-cafe] Product-Categories

2013-07-04 Thread Adam Gundry
Hi, On 04/07/13 02:19, Lyndon Maydwell wrote: I'm wracking my brain trying to figure out a simple, reasonably general, implementation for a category instance for pairs of categories. So far I've looked at [1], which seems great, but doesn't use the built-in category instance, and [2], which

[Haskell-cafe] Automatically test different versions of single dependency

2013-07-04 Thread Daniel Díaz Casanueva
Hello everyone. I would like to check what dependencies is one of my packages compatible with. For example, say I have a package called foo that depends on package bar. Most likely, foo does not build with each version of bar. What I want to do is try to build foo with each single version of bar

Re: [Haskell-cafe] Automatically test different versions of single dependency

2013-07-04 Thread Alp Mestanogullari
You can just write a bash script that will do: cabal install --constraint='bar == v' for all the values of 'v' (0.1, 0.2, 1.2.5.1, ...) you are interested in. You can be aware of all the existing versions just using the directory listing in

Re: [Haskell-cafe] Automatically test different versions of single dependency

2013-07-04 Thread Daniel Díaz Casanueva
Hello, Alp. Thank you for your response. Currently, I am extracting the information from the 00-index.tar.gz, and planning to use cabal-dev for the builds. Using the cabal tool directly looks like a very bad idea to me. I am still interested in knowing if there is some related job already done,

[Haskell-cafe] Open Source project suitable for 2-3 persons this fall?

2013-07-04 Thread Anders Bech Mellson
Is there any project that needs working this fall which could be used as a university project? I am in the university (M.Sc. in software development), so I am mainly looking for project ideas (preferably concrete ones). We are 2-3 students that have ~10 hours pr week for 3 months to work on a

[Haskell-cafe] getting exported original names using the GHC API

2013-07-04 Thread Pasqualino Titto Assini
Say that I have a module like: module Test(L.find) where import Data.List as L Using the GHC API, I extract the module exports (using GHC.modInfoExports) and I get a list of names. Now, I want to get the name of the export with the namespace stated in the source (L.find) but I seem to be

Re: [Haskell-cafe] getting exported original names using the GHC API

2013-07-04 Thread AlanKim Zimmerman
If you use the ParsedSource representation, http://www.haskell.org/ghc/docs/latest/html/libraries/ghc-7.6.3/HsSyn.html#t:HsModule, the LIE entry still has a RdrName which is represented as (IEVar (Qual {ModuleName: L} {OccName: find})))]) On Thu, Jul 4, 2013 at 7:11 PM, Pasqualino

Re: [Haskell-cafe] Automatically test different versions of single dependency

2013-07-04 Thread Alp Mestanogullari
Yeah, I used the 00-index.tar.gz too, the directory listing did it for me (in scoutess). I was saying 'cabal' but cabal-dev works just fine for this too, it responds to the necessary commands too. Good luck :-) On Thu, Jul 4, 2013 at 3:01 PM, Daniel Díaz Casanueva dhelta.d...@gmail.com wrote:

Re: [Haskell-cafe] Open Source project suitable for 2-3 persons this fall?

2013-07-04 Thread Alp Mestanogullari
I have an idea or two for websites that would be really useful to the community I think, and not enough time to do it myself for the moment. One is not finished but already in good shape, the other I barely started. If websites would be fine (this would be haskell + pgsql + html/css/js/whatever),

Re: [Haskell-cafe] Open Source project suitable for 2-3 persons this fall?

2013-07-04 Thread Jeremy Shaw
I'm still interested in getting the scoutess project pushed the last 10% of the way to being useable: http://hub.darcs.net/alp/scoutess http://alpmestan.wordpress.com/2012/03/21/scoutess-continuous-integration-cabal-and-the-google-summer-of-code/ http://projectscoutess.blogspot.com/ The code

Re: [Haskell-cafe] Product-Categories

2013-07-04 Thread Lyndon Maydwell
Thanks a lot for that Adam. Glad to hear I wasn't too far off the right track :-) Regards, - Lyndon On Thu, Jul 4, 2013 at 5:34 PM, Adam Gundry adam.gun...@strath.ac.ukwrote: Hi, On 04/07/13 02:19, Lyndon Maydwell wrote: I'm wracking my brain trying to figure out a simple, reasonably