RE: [Haskell-cafe] Trivial database access in Haskell

2006-12-12 Thread Simon Peyton-Jones
Paul The people you want are probably HDBCJohn Goerzen [EMAIL PROTECTED] HaskellDB Anders Höckersten [EMAIL PROTECTED] and Bjorn Bringert [EMAIL PROTECTED] HSQLKrasimir Angelov [EMAIL PROTECTED] Takusen Bayley, Alistair [EMAIL PROTECTED] (did I

Re: [Haskell-cafe] Trivial database access in Haskell

2006-12-12 Thread Bjorn Bringert
Hi Paul, as Simon notes, I maintain HaskellDB. I think that HaskellDB isn't exactly what you are looking for at the moment. You seem to want to run SQL queries, and HaskellDB is designed to free you from writing SQL. I'm not sure if anyone has mentioned it yet, but HSQL 1.7 includes

Re: [Haskell-cafe] Trivial database access in Haskell

2006-12-12 Thread Seth Gordon
Taral wrote: On 12/11/06, Paul Moore [EMAIL PROTECTED] wrote: F:\cabal-1.1.6.1runhaskell Setup.lhs install Installing: C:\Program Files\Haskell\Cabal-1.1.6.1\ghc-6.6 C:\Program Files\Haskell\bin Cabal-1.1.6.1... Setup.lhs: Error: Could not find module: Distribution.Compiler with any

[Haskell-cafe] Trivial database access in Haskell

2006-12-11 Thread Paul Moore
I'm an Oracle DBA, and I have been looking at Haskell with interest for a long while now. But I don't feel particularly that I could use it in my day job, mainly because I can't seem to find a nice, simple way of doing (Oracle) database access in Haskell. What I'm after is very simple - I want

Re: [Haskell-cafe] Trivial database access in Haskell

2006-12-11 Thread Kirsten Chevalier
On 12/11/06, Paul Moore [EMAIL PROTECTED] wrote: I've looked at the various database access libraries for Haskell, but they all seem to be missing a couple of key pieces if I want to use them: 1. Simple documentation of how to install the library (starting from a vanilla GHC installation on

Re: [Haskell-cafe] Trivial database access in Haskell

2006-12-11 Thread Paul Moore
On 12/11/06, Kirsten Chevalier [EMAIL PROTECTED] wrote: This is when you write that documentation :-) And I say that without knowing anything about any of the Haskell database libraries -- I just suspect that if you can't find any good documentation for them, that's your cue to write it.

Re: [Haskell-cafe] Trivial database access in Haskell

2006-12-11 Thread Kirsten Chevalier
On 12/11/06, Paul Moore [EMAIL PROTECTED] wrote: The point I was trying (badly!) to make was that without sample code on how to do trivial queries, I can't work out which library is closest to what I want. And without installation instructions, I can't try them out. Well, if anyone has that

Re: [Haskell-cafe] Trivial database access in Haskell

2006-12-11 Thread Paul Moore
On 12/11/06, Kirsten Chevalier [EMAIL PROTECTED] wrote: Don't apologize; you're not being dumb. But, you have to realize that if you're using Haskell at all, you *are* the Haskell community. OK, thanks for the gentle push. After a bit of digging, I decided that the takusen link looked like a

Re: [Haskell-cafe] Trivial database access in Haskell

2006-12-11 Thread Kirsten Chevalier
Now you're getting somewhere! (Even though it may not seem like it.) At this point, this is probably a better place to ask: http://www.haskell.org/cabal/ In particular, it says where to ask questions. I haven't used Cabal much myself and I suspect that the people who know about Cabal are more

Re: [Haskell-cafe] Trivial database access in Haskell

2006-12-11 Thread Taral
On 12/11/06, Paul Moore [EMAIL PROTECTED] wrote: F:\cabal-1.1.6.1runhaskell Setup.lhs install Installing: C:\Program Files\Haskell\Cabal-1.1.6.1\ghc-6.6 C:\Program Files\Haskell\bin Cabal-1.1.6.1... Setup.lhs: Error: Could not find module: Distribution.Compiler with any suffix: [hi] The magic

Re: [Haskell-cafe] Trivial database access in Haskell

2006-12-11 Thread Alec Berryman
Paul Moore on 2006-12-11 22:46:44 +: What I *can* do, is to attempt to install one of the libraries that looks closest to what I want (probably HDBC, because I'm familiar with the Python DB-API). But I honestly have little or no idea how to start - following the HDBC link on the Haskell

Re: [Haskell-cafe] Trivial database access in Haskell

2006-12-11 Thread Stefan O'Rear
On Mon, Dec 11, 2006 at 11:25:59PM +, Paul Moore wrote: On 12/11/06, Kirsten Chevalier [EMAIL PROTECTED] wrote: Don't apologize; you're not being dumb. But, you have to realize that if you're using Haskell at all, you *are* the Haskell community. OK, thanks for the gentle push. After a

a cabal/database lib experience (was: [Haskell-cafe] Trivial database access in Haskell)

2006-12-11 Thread Claus Reinke
if you're using Haskell at all, you *are* the Haskell community. [..lots of I searched, I found, I tried, I got this error, I thought, I tried this workaround, I got to this point, now I'm stuck here..] I just wanted to comment that I find this kind of experience report very helpful,

Re: [Haskell-cafe] Trivial database access in Haskell

2006-12-11 Thread jeff p
Hello, 1. Simple documentation of how to install the library (starting from a vanilla GHC installation on Windows, plus Oracle software, to the point where I can use the library in my code). All I need is Oracle access, so other database client libraries can be ignored. I'd rather not use ODBC,