Skip to content

Instantly share code, notes, and snippets.

View iamnoah's full-sized avatar

Noah Perks Sloan iamnoah

  • Texas
  • 18:17 (UTC -05:00)
View GitHub Profile
@headius
headius / gist:5285216
Last active December 15, 2015 15:49
Alternate Clojure syntax (work in progress...and NOT an April Fool's joke)
The majority of parens in Clojure are redundant if we just say that all
n > 1 tokens in a line are arguments to the first token. Parens can be
added in a more C-style to disambiguate within a line. Newline plus
indent expands argument list over multiple lines and each of those
lines gets the original "one-line" treatment. Introducing an "ignore
indent" sigil allows sugaring up the structure. The majority of calls
can be expressed in one line with no parens at all.
Hello world: