2009/8/30 Dan Fichter <daniel.fich...@gmail.com>:
[...]
> [Clojure]
>
> (println "Hello, world")
>
> [Python]
>
> print "Hello, world"

Or Python 3.x:

print("Hello, world")

> A list (in Clojure, a vector) of three integers.
>
> [Clojure]
>
> [1 2 3]

This can also be written in Clojure as [1, 2, 3].  Commas are
considered whitespace.

> A hash-map.
>
> [Clojure]
>
> {0 false 1 true}

This can, as above, be written with commas if preferred:

{0 false, 1 true}

-- 
Michael Wood <esiot...@gmail.com>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to