> Now, if you look at the patch you'll see that it changes irregex-core.scm,
> which means it creates a "fork" against that part of the code in upstream.
> I don't see a way to declare the type from the "outside", in irregex.scm,
> unless we also copy that code body as a macro, but that feels really ugly
> and will cause some code duplication in the resulting C code.

I suggest creating a wrapper macro for "assume" with an (empty) cond-expand'ed 
default
definition and send this to upstream. If this change has such an impact, then 
other
implementations might take advantage from type-declarations as well.


felix


_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to