[Haskell-cafe] putting the result of a function in `infix` declaration
Roel van Dijk
vandijk.roel at gmail.com
Sun Jun 23 22:56:32 CEST 2013
Related to Karl's Template Haskell suggestion you could also have a look at
The GHC documentation has an example of a expression quoter:
On 23 June 2013 22:22, Karl Voelker <ktvoelker at gmail.com> wrote:
> On Sun, Jun 23, 2013 at 6:36 AM, TP <paratribulations at free.fr> wrote:
>> In a more general way, let us suppose I have a Haskell library able to
>> perform some calculations: how to use it in a pre-processing step, before
>> compilation of the executable?
> You are looking for Template Haskell.
> I'm not sure how up-to-date the wiki is, but it should give you the
> general idea.
> -Karl V.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe