Modified:
/wiki/FAQ.wiki
=======================================
--- /wiki/FAQ.wiki Wed Dec 17 09:02:43 2008
+++ /wiki/FAQ.wiki Wed Dec 8 11:52:11 2010
@@ -1,93 +1,7 @@
-#summary Frequently Asked Questions about Clojure
-
-= FAQ =
-
-== Java Interop ==
-
-===How do you refer to a nested/inner class?===
-Use: `EnclosingClass$NestedClass`
-
-===Why doesn't `(. Integer getName)` work?===
-. is a special operator. In particular, it does non-standard
-evaluation of its first arg.
-
-Because . can call static and instance methods, it determines if it is
-a static call be seeing if the first arg names a class. In this case:
-
-`(. Integer getName)`
-
-it tries to find the static getName member and doesn't, because
-there isn't one. You could use this syntax to call a static method on
-Integer:
-
-`(. Integer parseInt "42")`
-
-Everywhere else, a classname designates the class object.
-
-In short, if you can't say x.y() in Java you can't say (. x y) in
-Clojure, and you can't say Integer.getName() in Java.
-
-The workaround is, you really want the class object here, and to
-suppress the use of Integer as a class scope:
-
-`(. (identity Integer) getName)`
-
-The above calls an instance method on an object of type Class.
-
-Or, most simply, use:
-
-`(.getName Integer)`
-
-which expands into the above.
-
-=== How do I call a Java method that takes a variable number of
-arguments?===
-
-The variable arguments are actually just an array:
-`(.method object fixed-args... (into-array type variable-args...))`
-
-=== Is there a repository for Clojure libraries? ===
-
-Yes, see http://code.google.com/p/clojure-contrib/
-
-=== Where can I learn about Java? ===
-
-Try the [http://java.sun.com/docs/books/tutorial/ Java tutorials], the
[http://java.sun.com/javase/6/docs/api/ Java API],
-and Bruce Eckel's free book [http://www.mindview.net/Books/TIJ/ Thinking
in Java]
-
-== General ==
-
-=== Where can I learn about Lisp? ===
-
-Try Peter Seibel's free book [http://www.gigamonkeys.com/book/ Pratical
Common Lisp], or [http://mitpress.mit.edu/sicp/full-text/book/book.html
Structure and Interpretation of
-Computer Programs]
-
-=== Is there an IDE for Clojure? ===
-
-There are plug-ins for Eclipse http://code.google.com/p/clojure-dev/ and
NetBeans http://enclojure.net/. There's also Emacs.
-
-=== Do I need to know Java to use Clojure? ===
-
-Not at first, but it helps to know the standard Java APIs.
-
-=== Why doesn't `#([%])` work? ===
-
-Because it expands to `(fn [x] ([x]))`. `#()` always expands to
-include parens around the expression you give it. You might try
-`#(vector x)` instead
-
-=== How do I get primitive types like "int" ===
-
-`Integer/TYPE`
-
-=== How do I copy a file? ===
-
-Use [http://commons.apache.org/io/ Apache Commons IO]
-
-=== How do I use SLIME? ===
-
-See http://bc.tech.coop/blog/081209.html
-
-=== Does Clojure support custom reader macros? ===
-
-No, and support is not planned.
+=Clojure is no longer on Google Code=
+
+ * main site is [http://clojure.org]
+ * downloads at [http://clojure.org/downloads]
+ * source code is hosted on [http://github.com/clojure/clojure GitHub]
+ * issue tracking is hosted on
[http://www.assembla.com/spaces/clojure/tickets Assembla]
+ * FAQ is [http://dev.clojure.org/display/doc/FAQ]