Arc Forumnew | comments | leaders | submitlogin
1 point by evanrmurphy 5134 days ago | link | parent

I like this. Bravo. It's neat!

I'm also intrigued by your whitespace pattern:

  (def foo(a b) (cons a b))  ; no space between foo and its args
I'd always seen it one of these ways:

  (def foo (a b) (cons a b))

  (def foo (a b)
    (cons a b))
Omitting that space helps my eye to logically group things, and it could help make lisp look a bit more familiar to anyone coming from C-style syntax.


1 point by akkartik 5134 days ago | link

Yeah I've been using that unconventional layout in my code. (I started out as a C programmer.)

But it is unconventional, and I didn't want to change it in the arc repo itself, so let me know if you see it in any non-test files.

-----