Skip to content

Commit

Permalink
Merge pull request #145 from cyk2018/fix-output-flag
Browse files Browse the repository at this point in the history
fix output flag in examples.md
  • Loading branch information
quentin authored Mar 3, 2024
2 parents f2ba3d0 + 2ae65e4 commit 1355ba8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pages/docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ ld("v4","v1","f").
// -- analysis --
.decl alias( a:var, b:var ) output
.decl alias( a:var, b:var )
.output alias
alias(X,X) :- assign(X,_).
alias(X,X) :- assign(_,X).
alias(X,Y) :- assign(X,Y).
Expand Down Expand Up @@ -273,7 +274,8 @@ Frequently, components can be described in an abstract, generic way such that it
NetA.edge("A","B").
NetA.edge("B","C").
.decl resA(a:symbol, b:symbol) output
.decl resA(a:symbol, b:symbol)
.output resA
resA(X,Y) :- NetA.reach(X,Y).
Expand Down

0 comments on commit 1355ba8

Please sign in to comment.