File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ git.useGitDescribe := true
6
6
7
7
organization := " ch.epfl.lara"
8
8
9
- scalaVersion := " 3.5.2"
9
+ val inoxScalaVersion = " 3.5.2"
10
+ scalaVersion := inoxScalaVersion
10
11
11
12
scalacOptions ++= Seq (
12
13
" -deprecation" ,
@@ -132,7 +133,8 @@ lazy val docs = project
132
133
mdocIn := file(" src/main/doc" ),
133
134
mdocOut := file(" doc" ),
134
135
mdocExtraArguments := Seq (" --no-link-hygiene" ),
135
- scalaVersion := " 3.0.2" ,
136
+ scalaVersion := inoxScalaVersion,
137
+ excludeDependencies := Seq (" org.scala-lang.modules" % " scala-parser-combinators_2.13" ),
136
138
)
137
139
.enablePlugins(MdocPlugin )
138
140
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ It is also possible to embed types and expressions:
61
61
``` scala
62
62
e " let x: $tpe = $expr in !x "
63
63
// res0: Expr = val x: Boolean = 1 + 1 == 2
64
- // ¬ x
64
+ // ! x
65
65
```
66
66
67
67
<a name =" syntax " ></a >
@@ -192,19 +192,19 @@ e"lambda x. x * 0.5"
192
192
193
193
``` scala
194
194
e " forall x: Int. x > 0 "
195
- // res16: Expr = ∀ x: Int. (x > 0)
195
+ // res16: Expr = forall(( x: Int) => (x > 0) )
196
196
e " ∀x. x || true "
197
- // res17: Expr = ∀ x: Boolean. (x || true)
197
+ // res17: Expr = forall(( x: Boolean) => (x || true) )
198
198
```
199
199
200
200
<a name =" existential-quantifiers " ></a >
201
201
### Existential Quantifier
202
202
203
203
``` scala
204
204
e " exists x: BigInt. x < 0 "
205
- // res18: Expr = ¬∀ x: BigInt. ¬ (x < 0)
205
+ // res18: Expr = !forall(( x: BigInt) => ! (x < 0) )
206
206
e " ∃x, y. x + y == 0 "
207
- // res19: Expr = ¬∀ x: BigInt, y: BigInt. (x + y ≠ 0 )
207
+ // res19: Expr = !forall(( x: BigInt, y: BigInt) => (x + y != 0) )
208
208
```
209
209
210
210
<a name =" choose " ></a >
Original file line number Diff line number Diff line change 1
1
2
- addSbtPlugin(" org.scalameta" % " sbt-mdoc" % " 2.2.24 " )
2
+ addSbtPlugin(" org.scalameta" % " sbt-mdoc" % " 2.6.3 " )
3
3
4
4
addSbtPlugin(" com.typesafe.sbt" % " sbt-git" % " 1.0.0" )
5
5
You can’t perform that action at this time.
0 commit comments