@@ -46,8 +46,8 @@ See [FeatureTest](src/test/kotlin/org/lice/FeatureTest.kt) to learn more about t
46
46
; invoke the function defined above
47
47
(fold (.. 1 4) 0 +)
48
48
49
- ; passing a call-by-value lambda to a call-by-name lambda
50
- ((expr op (op 3 4)) (lambda a b (+ (* a a) (* b b))))
49
+ ; passing a call-by-value lambda to a call-by-value lambda
50
+ ((lambda op (op 3 4)) (lambda a b (+ (* a a) (* b b))))
51
51
52
52
; to define a call-by-need lambda, use `lazy`.
53
53
```
@@ -59,7 +59,7 @@ import javax.script.*;
59
59
public class LiceScriptEngineTest {
60
60
public static void main () throws Exception {
61
61
ScriptEngine engine = new ScriptEngineManager (). getEngineByName(" lice" );
62
- engine. eval(" (def x 10)" );
62
+ engine. eval(" (-> x 10)" );
63
63
engine. eval(" (print x)" );
64
64
}
65
65
}
@@ -78,7 +78,7 @@ allprojects {
78
78
}
79
79
80
80
dependencies {
81
- compile 'com.github.lice-lang:lice:v3.1.2 '
81
+ compile 'com.github.lice-lang:lice:v3.2.0 '
82
82
}
83
83
```
84
84
@@ -87,15 +87,15 @@ If you use Scala, you can add it to your sbt dependency, by adding the lines bel
87
87
``` sbtshell
88
88
resolvers += "jitpack" at "https://jitpack.io"
89
89
90
- libraryDependencies += "com.github.lice-lang" % "lice" % "v3.1.2 "
90
+ libraryDependencies += "com.github.lice-lang" % "lice" % "v3.2.0 "
91
91
```
92
92
93
93
And if you're a Clojure developer, why not try to build it with leiningen?
94
94
95
95
``` leiningen
96
96
:repositories [["jitpack" "https://jitpack.io"]]
97
97
98
- :dependencies [[com.github.lice-lang/lice "v3.1.2 "]]
98
+ :dependencies [[com.github.lice-lang/lice "v3.2.0 "]]
99
99
```
100
100
101
101
# Contributing
0 commit comments