[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Improve irregex matching performance a lot
Re: [Chicken-hackers] [PATCH] Improve irregex matching performance a lot by adding two type declarations
Sat, 12 Dec 2015 09:47:14 -0800
> And even if there are other Schemes with type hints (I'd love to hear if
> I've overlooked any!), I doubt they use a compatible syntax to ours,
> which means a wrapper macro would be pretty hairy.
Off the top of my head, there is also Kawa.
> Maybe this is a good feature to add: a way to indicate that a type
> declaration for the argument types to a procedure declared elsewhere
> should be considered an assumption in the procedure body.
I'm afraid that I don't quite follow. Do you mean a CL-style declare
within the body of the function; or do you mean that there may exist
type declarations elsewhere that modify the function's type signature,
and whose possible existence is implied?
Let's keep in mind that it's not only function parameters and return
values that may benefit from type declarations; as with CL-style declare
statements, it could be useful to pepper other symbols with type
Re: [Chicken-hackers] [PATCH] Improve irregex matching performance a lot by adding two type declarations, Kooda, 2015/12/08