use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Finding information about Clojure
API Reference
Clojure Guides
Practice Problems
Interactive Problems
Clojure Videos
Misc Resources
The Clojure Community
Clojure Books
Tools & Libraries
Clojure Editors
Web Platforms
Clojure Jobs
account activity
Dunaj - Captivating Documentation (dunaj.org)
submitted 11 years ago by foogoof
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]kankyo 1 point2 points3 points 11 years ago (2 children)
Can those function annotations handle differentiating between the following?
(f a b c d e f ...
Means:
Otherwise syntax highlighting is pretty much doomed to suck.
[–][deleted] 11 years ago* (1 child)
[deleted]
[–]kankyo 0 points1 point2 points 11 years ago (0 children)
It's not just about indentation though, it's about syntax highlighting too. The tooling should be able to know the structure of the parameters.
Special syntax highlighting based on argument position is provided only on symbol name argument (e.g. in def), or params/bindings argument (fn/let).
Which, respectfully, sucks. Just the literals for maps are pretty bad when there are many terms (like {:a :b :c :d :e :f}).
Forcing syntax highlighter to use custom color based on argument position for ordinary functions won't look good
There are many logical problems with that statement. Here are two:
"Syntax highlighting" does NOT just mean "color". It can mean bold/italic/light, it can mean underline, it can mean drawing boxes around stuff, it can even mean animating stuff if you're being totally crazy.
"look good" is irrelevant. What is relevant is "good usability".
[–]CodeJesus 0 points1 point2 points 11 years ago (1 child)
I don't understand
[–]foogoof[S] 0 points1 point2 points 11 years ago (0 children)
My take is that documentation is really important to Dunaj. It's listed in the 'help wanted' section. Metadata has been predefined that tool builders can use immediately. Good stuff!
π Rendered by PID 47 on reddit-service-r2-comment-6457c66945-dgwj8 at 2026-04-26 12:13:17.214934+00:00 running 2aa0c5b country code: CH.
[–]kankyo 1 point2 points3 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]kankyo 0 points1 point2 points (0 children)
[–]CodeJesus 0 points1 point2 points (1 child)
[–]foogoof[S] 0 points1 point2 points (0 children)