Re: Defining a function and using it in a splice within the same module

"Alfonso Acosta" <[email protected]> Thu, 25 Oct 2007 13:49:32 +0200
Newsgroups gmane.comp.lang.haskell.template
Message-ID <[email protected]>
On 10/25/07, Simon Peyton-Jones <[email protected]> wrote:

> | where mkSysDef :: Name -> [String] -> [String] -> SysDef
>
> Ah I see.  Although you presumably meant
>         mkSysDef :: Name -> Q ([String] -> [String] -> SysDef)
> else it'd be ill-typed.

Yes, sure, sorry for the typo.

> | Since what I propossed is more "bypassing the problem" than a
> | workaround I don't know if its significant for the ticket.
>
> It's a nice illustration of why the proposed feature is useful.  I'd be happy if you added it.

I'll add it then.

Thanks,

Fons