Arc Forumnew | comments | leaders | submitlogin
3 points by rocketnia 4611 days ago | link | parent

"It's a little confusing at the start to use colons in two different ways so close to each other, but [...]"

I was just thinking that. What would you think about keyword args that started with a hyphen instead of a colon?

  (uniqify (sort (<) cdr.ls) -and car.ls -into list:car.ls)
This way they look like shell command options, and the whole thing looks like a call to "uniquify-X-and-Y-into". Just an idea. :)


2 points by akkartik 4611 days ago | link

I like this idea!

It's too bad this suggestion also uses an operator char, though. Or maybe there's some way to describe keyword args as a macro?!

-----