repo.or.cz
/
why3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'minimum-excludant-other-versions' into 'master'
[why3.git]
/
bench
/
programs
/
bad-typing
/
variant1.mlw
blob
ac9ae7414fc0278c077850889a025667ec802fef
1
2
module M
3
4
use int.Int
5
6
(* missing variant *)
7
8
let rec even (x:int) : int variant {x} =
9
odd (x-1)
10
with odd (x:int) : int =
11
even (x-1)
12
13
end