Posted Dec 4, 2012 15:42 UTC (Tue) by HelloWorld
In reply to: Sweeten results
Parent article: GNU Guile 2.0.7 released
For personal reasons, I don't want to sign up to the mailing list. Anyway, whether the
defun goes into one line or two isn't what I'm worried about. The problem with the
defun foo bar(baz)
syntax is that the first argument is outside of the parenthesis, while the following arguments are within, suggesting that the first argument is somehow different even though it really isn't.
fixes that. There's also another way to write it:
defun foo (bar baz)
(I thought that would be rewritten into
(defun (foo bar baz) ...)
at first, but it actually works due to the space following
My main point here is that the heuristic should special-case some forms.
is one, another obvious one is
for the same reason.
to post comments)