Arc Forumnew | comments | leaders | submitlogin
1 point by lojic 5932 days ago | link | parent

Am I missing something here?

  arc> (splitn 2)
  Error: "procedure  splitn: expects 2 arguments, given 1: 2"
Shouldn't (splitn 2) evaluate to a function that accepts a list after creating the defx macro and using it to redefine splitn?


1 point by drcode 5932 days ago | link

no- this does not support partial function application (yet) -only the function declarations are shorter.

-----

1 point by lojic 5932 days ago | link

I see. I didn't notice it was shorter.

-----