title: Cabal usage (Haskell)
body: <p>Cabal has dependency problems <em>constantly</em>. It's really tiring. So far I have tried to get many things working, here's my trying to install snap:</p>
  
  <pre>
  $ sudo cabal install snap-server
  Resolving dependencies...
  cabal: cannot configure ListLike-1.1.0. It requires mtl >=1.1.0 && 1.2
  For the dependency on mtl >=1.1.0 && 1.2 there are these packages:
  mtl-1.1.0.0, mtl-1.1.0.1, mtl-1.1.0.2 and mtl-1.1.1.0. However none of them
  are available.
  mtl-1.1.0.0 was excluded because mtl-2.0.0.0 was selected instead
  mtl-1.1.0.0 was excluded because monads-fd-0.1.0.3 requires mtl ==2.*
  mtl-1.1.0.1 was excluded because mtl-2.0.0.0 was selected instead
  mtl-1.1.0.1 was excluded because monads-fd-0.1.0.3 requires mtl ==2.*
  mtl-1.1.0.2 was excluded because mtl-2.0.0.0 was selected instead
  mtl-1.1.0.2 was excluded because monads-fd-0.1.0.3 requires mtl ==2.*
  mtl-1.1.1.0 was excluded because mtl-2.0.0.0 was selected instead
  mtl-1.1.1.0 was excluded because monads-fd-0.1.0.3 requires mtl ==2.*
  </pre>
  
  <p>I have similar problems installing Happstack, etc. What is the procedure to make cabal...work?
  I've already tried:</p>
  
  <pre><code>export PATH=/home/user/.cabal/bin:$PATH
  </code></pre>