You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changes.md
+147-31
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,17 @@
6
6
7
7
## 1 Compatibility and Dependencies
8
8
9
-
## 1.1 JDK Version Updates
9
+
## 1.1 JDK Version Update
10
10
11
-
Clojure now builds with Java SE 1.6 and emits bytecode requiring Java SE 1.6 instead of Java SE 1.5. [CLJ-1268]
11
+
Clojure now builds with Java SE 1.6 and emits bytecode requiring Java
12
+
SE 1.6 instead of Java SE 1.5. [CLJ-1268]
12
13
13
-
## 1.2 Promoted "Alpha" Features
14
+
## 1.2 ASM Library Update
15
+
16
+
The embedded version of the ASM bytecode library has been upgraded to
17
+
ASM 4.1. [CLJ-713]
18
+
19
+
## 1.3 Promoted "Alpha" Features
14
20
15
21
The following features are no longer marked Alpha in Clojure:
16
22
@@ -26,53 +32,123 @@ The following features are no longer marked Alpha in Clojure:
26
32
27
33
### 2.1 Java API
28
34
29
-
The clojure.api package provides a minimal interface to bootstrap Clojure access from other JVM languages. It does this by providing:
30
-
1. The ability to use Clojure's namespaces to locate an arbitrary var, returning the var's clojure.lang.IFn interface.
31
-
2. A convenience method read for reading data using Clojure's edn reader
35
+
The clojure.java.api package provides a minimal interface to bootstrap
36
+
Clojure access from other JVM languages. It does this by providing:
37
+
1. The ability to use Clojure's namespaces to locate an arbitrary var,
38
+
returning the var's clojure.lang.IFn interface.
39
+
2. A convenience method read for reading data using Clojure's edn
40
+
reader.
32
41
33
-
IFns provide complete access to Clojure's APIs. You can also access any other library written in Clojure, after adding either its source or compiled form to the classpath.
42
+
IFns provide complete access to Clojure's APIs. You can also access
43
+
any other library written in Clojure, after adding either its source
44
+
or compiled form to the classpath.
34
45
35
46
The public Java API for Clojure consists of the following classes and interfaces:
36
47
37
-
* clojure.api.API
48
+
* clojure.java.api.Clojure
38
49
* clojure.lang.IFn
39
50
40
-
All other Java classes should be treated as implementation details, and applications should avoid relying on them.
51
+
All other Java classes should be treated as implementation details,
52
+
and applications should avoid relying on them.
41
53
42
-
To lookup and call a Clojure function:
54
+
To look up and call a Clojure function:
43
55
44
-
IFn plus = API.var("clojure.core", "+");
56
+
IFn plus = Clojure.var("clojure.core", "+");
45
57
plus.invoke(1, 2);
46
58
47
-
Functions in clojure.core are automatically loaded. Other namespaces can be loaded via require:
59
+
Functions in clojure.core are automatically loaded. Other namespaces
0 commit comments