[Haskell-cafe] Trivial database access in Haskell

Stefan O'Rear stefanor at cox.net
Mon Dec 11 18:37:21 EST 2006


On Mon, Dec 11, 2006 at 11:25:59PM +0000, Paul Moore wrote:
> On 12/11/06, Kirsten Chevalier <catamorphism at gmail.com> 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 darcs repository, and I downloaded
> darcs and got takusen. I installed GHC 6.6 in a spare VM (no PC round
> I can install stuff on just now, I'll do this properly later). On the
> assumption that the takusen.cabal file means I should look at Cabal, I
> had a dig and found the incantation "runhaskell setup.hs".
> 
> I got the error:
> 
> F:\takusen>runhaskell setup.hs
> 
> setup.hs:11:7:
>    Could not find module `Distribution.Compat.FilePath':
>      it is hidden (in package Cabal-1.1.6)

'hidden' means that it is installed, but access is forbidden (no,
I don't know why the feature exists).  To allow access:

ghc-pkg expose Cabal 

(disclaimer: untested command)


More information about the Haskell-Cafe mailing list