[plt-scheme] Re: apply vs dot notation syntax
kbohdan at mail.ru
kbohdan at mail.ru
Sun Oct 5 12:04:02 EDT 2008
kbohdan at mail.ru wrote:
> (f a b *: (g c d)) -> (apply f a b (g c d))
Actually i like python function application syntax :
f(arg1, arg2, *args, **kwargs)
where args is a list, and kwargs is a dictionary of keyword arguments.
Function definition in python can have similar syntax:
def f(arg1, arg2, *args, **kwargs):
...
I understand that this idea is not very applicable to scheme and would
like to know all reasons for this.
--
Bohdan
More information about the plt-scheme
mailing list