cleaning up examples

This commit is contained in:
Ellen Arvidsson 2025-06-28 00:25:37 +02:00
parent 333534a8d1
commit 9db2cb800d
10 changed files with 45 additions and 80 deletions

10
example/graph.msph Normal file
View file

@ -0,0 +1,10 @@
type gnode[e] = {
member edges : iterable[e]
}
type gedge[n] = {
member src : n
member dst : n
}
type graph[n, e] = (n <: gnode[e]) & (e <: gedge[n])