<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="monospace">With a file containing:<br>
<br>
<blockquote type="cite">module Main where<br>
  <br>
import Array<br>
import Control.Functor.Fix<br>
</blockquote>
I get:<br>
<br>
<blockquote type="cite">make <br>
ghc -i/root/.cabal/lib/category-extras-0.53.5/ghc-6.8.2 -c
catamorphism.example.hs<br>
  <br>
catamorphism.example.hs:19:0:<br>
&nbsp;&nbsp;&nbsp; Bad interface file:
/root/.cabal/lib/category-extras-0.53.5/ghc-6.8.2/Control/Functor/Fix.hi<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Something is amiss; requested module&nbsp; main:Control.Functor.Fix
differs from name found in the interface file
category-extras-0.53.5:Control.Functor.Fix<br>
make: *** [all] Error 1<br>
</blockquote>
I used cabal to install category-extras:<br>
<br>
<blockquote type="cite">/home/evansl/download/haskell/libs # cabal
install category-extras<br>
Resolving dependencies...<br>
Downloading category-extras-0.53.5...<br>
Configuring category-extras-0.53.5...<br>
Preprocessing library category-extras-0.53.5...<br>
</blockquote>
...<br>
<blockquote type="cite">/usr/bin/ar: creating
dist/build/libHScategory-extras-0.53.5.a<br>
Installing library in /root/.cabal/lib/category-extras-0.53.5/ghc-6.8.2<br>
Registering category-extras-0.53.5...<br>
Reading package info from "dist/installed-pkg-config" ... done.<br>
Saving old package config file... done.<br>
Writing new package config file... done.<br>
/home/evansl/download/haskell/libs # <br>
</blockquote>
What should I do to import the Functor.Fix as shown here:<br>
<br>
<a class="moz-txt-link-freetext" href="http://comonad.com/reader/2008/recursion-schemes/">http://comonad.com/reader/2008/recursion-schemes/</a><br>
<br>
TIA.<br>
<br>
-Larry<br>
<br>
<br>
<br>
</font>
</body>
</html>