Atila Romero <[EMAIL PROTECTED]> wrote:

> >Perhaps I should propose a new syntactic construct for the language?
>
> And how about create a 'reduction rules' syntax? It maps a common
> construct that usually becomes slow code in predefined fast code. So
> the optimization done by compiler becomes more transparent, easy to
> ennhance and the user can include his own reduction rules.

I believe ghc already has something like this: the {-# RULES #-}
pragma.  The problem is that there is no portable notation for the
target of the rule, if you want to specify a constant array.

Regards,
    Malcolm
_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to