From kenn at kenn.frap.net Fri Jul 6 12:04:15 2007 From: kenn at kenn.frap.net (Kenn Knowles) Date: Fri Jul 6 11:57:44 2007 Subject: [Hat] Re: [Haskell-cafe] update on SoC projects? In-Reply-To: <01d001c7bfe2$a0b81080$08338351@cr3lt> References: <20070627034248.GA1045@localhost.gateway.2wire.net> <20070627153027.14bf8787.Malcolm.Wallace@cs.york.ac.uk> <01d001c7bfe2$a0b81080$08338351@cr3lt> Message-ID: <20070706160415.GA16001@tallman.gateway.2wire.net> On Fri, Jul 06, 2007 at 04:30:36PM +0100, Claus Reinke wrote: > there still seem to be only three entries for status reports (of 9 projects) > on that page. have the other projects been abandoned? The updating of Hat hasn't been abandoned, and I just added an update. Sorry about the delay; I've been too busy for mailing lists and blogging! Anyone particularly interested in this project is invited to chat (I'm kenn in #haskell on chat.freenode.net) or email me about examples or issues. :-) - Kenn From ivan.tarasov at gmail.com Mon Jul 16 15:00:17 2007 From: ivan.tarasov at gmail.com (Ivan Tarasov) Date: Mon Jul 16 14:57:14 2007 Subject: [Hat] no "-package" option for hat-trans? Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.haskell.org/pipermail/hat/attachments/20070716/a42d951d/attachment.htm From Malcolm.Wallace at cs.york.ac.uk Tue Jul 17 05:57:02 2007 From: Malcolm.Wallace at cs.york.ac.uk (Malcolm Wallace) Date: Tue Jul 17 05:52:01 2007 Subject: [Hat] no "-package" option for hat-trans? In-Reply-To: References: Message-ID: <20070717105702.0c809566.Malcolm.Wallace@cs.york.ac.uk> "Ivan Tarasov" wrote: > 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. You are right. hat-trans does not understand packages yet. Hopefully, this is something that will be fixed by this year's Summer of Code project to get Hat working nicely with library packages. Regards, Malcolm