sphophi decorating with types
This commit is contained in:
parent
17be15d7b5
commit
a22c9726cd
19 changed files with 1762 additions and 380 deletions
20
example/ex4.msph
Normal file
20
example/ex4.msph
Normal file
|
@ -0,0 +1,20 @@
|
|||
nominal M
|
||||
nominal N
|
||||
nominal O
|
||||
nominal P
|
||||
|
||||
type A = {
|
||||
member member1: & N M
|
||||
member member2: | M N
|
||||
}
|
||||
|
||||
type B = forall X. {
|
||||
member member1 : & X A
|
||||
}
|
||||
|
||||
member outer1 : box {
|
||||
member member1: & B True
|
||||
type T = & B A
|
||||
member member2 : | (& T O) P
|
||||
type S = & B False
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue