no "-package" option for hat-trans?

"Ivan Tarasov" <[email protected]> Mon, 16 Jul 2007 23:00:17 +0400
Newsgroups gmane.comp.lang.haskell.hat
Message-ID <[email protected]>
--===============0336520214==
Content-Type: multipart/alternative; 
	boundary="----=_Part_56077_25684214.1184612417550"

------=_Part_56077_25684214.1184612417550
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

I'm trying to hat-transform my program, but I feel that I'm stuck. The
problem is that my program uses external package (namely NumericPrelude)
which I compiled and installed myself (it is visible through ghc-pkg), but I
can't find a way to explain it to hat-trans.

More precisely, I have the following imports in one of the files:
----
{-# OPTIONS -fno-implicit-prelude #-}

import MyPrelude
----

MyPrelude is exported from the NumericPrelude package. However hat-trans
tries to find the MyPrelude.hx. I read the hat-trans man page and found that
there is "-package" option, however it doesn't work. I started to read the
Hat-Trans sources and found that there is actually no such option in
Hat-Trans! So, this seems to be a man page problem, but solving it by
changing man file obviously wouldn't help my source transformation :-)

I tried using hmake -hat, but it didn't help either.

I'm using GHC 6.6.1 (6.6.12), hat 2.5 (2.5+rerolled-3), hmake 3.12 (3.12-1),
all from the Debian repository.

Is there some solution I'm missing, or the documentation page I ought to
read?

Ivan

------=_Part_56077_25684214.1184612417550
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,<br><br>I&#39;m trying
to hat-transform my program, but I feel that I&#39;m stuck. The problem is
that my program uses external package (namely NumericPrelude) which I
compiled and installed myself (it is visible through ghc-pkg), but I
can&#39;t find a way to explain it to hat-trans.
<br><br>More precisely, I have the following imports in one of the files:<br>----<br>{-# OPTIONS -fno-implicit-prelude #-}<br><br>import MyPrelude<br>----<br><br>MyPrelude
is exported from the NumericPrelude package. However hat-trans tries to
find the MyPrelude.hx. I read the hat-trans man page and found that
there is &quot;-package&quot; option, however it doesn&#39;t work. I started to read
the Hat-Trans sources and found that there is actually no such option
in Hat-Trans! So, this seems to be a man page problem, but solving it
by changing man file obviously wouldn&#39;t help my source transformation
:-)
<br><br>I tried using hmake -hat, but it didn&#39;t help either.<br><br>I&#39;m using GHC 6.6.1 (6.6.12), hat 2.5 (2.5+rerolled-3), hmake 3.12 (3.12-1), all from the Debian repository.<br><br>Is there some solution I&#39;m missing, or the documentation page I ought to read?
<br><br>Ivan
<br><br>

------=_Part_56077_25684214.1184612417550--

--===============0336520214==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Hat mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/hat

--===============0336520214==--