Arc Forumnew | comments | leaders | submit | drcode's commentslogin
1 point by drcode 6508 days ago | link | parent | on: Calling all Washington DC Arconauts

FEB 9th- not September :)

-----

1 point by drcode 6508 days ago | link | parent | on: Calling all Washington DC Arconauts

Oops- Of course it's Feb 9th

-----

1 point by drcode 6509 days ago | link | parent | on: This is probably too early to ask this...

what you want is archub.com- hope that still comes alive someday...

-----


I can tell I didn't communicate the intended purpose very well... let me put up another post that isn't as half-assed as my first one was (tonight)

-----


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

-----

1 point by lojic 6514 days ago | link

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

-----


It would have zero effect on program size if there are no undeclared parameters, so in the default case the code remains identical to the previous behavior.

In terms of token count, by itself this feature might lead to a modest 2% token count decrease. It would probably go up to 5%-10% if combined with a partial application feature, such as described in http://arclanguage.org/item?id=645

I plan on creating an improved version of this that includes partial application and give more examples with more impressive decreases in token count.

-----

1 point by ryantmulligan 6513 days ago | link

I'd love to see even 1 example.

-----

1 point by drcode 6513 days ago | link

well, the splitn in the top level post showed a decreased token count (the very last line of the splitn function could be removed) but i'm working on something clearer...

-----