Skip to content

Commit

Permalink
examples fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyasergey committed Oct 19, 2018
1 parent b73773a commit dcfc187
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/max.syn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#. this -b true
#. -b true
maximum of two integers

###
Expand All @@ -9,4 +9,4 @@ void max (loc r, int x, int y)

{ x <= m /\ y <= m; r :-> m }

###
###
4 changes: 2 additions & 2 deletions examples/srtl-insert.syn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#. this -b true -c 2
#. -b true -c 2
sorted list: insert an element

#####
Expand All @@ -7,4 +7,4 @@ sorted list: insert an element
void srtl_insert (loc x, loc r)
{n1 == n + 1 /\ lo1 == (k <= lo ? k : lo) /\ hi1 == (hi <= k ? k : hi) ; r :-> y ** srtl(y, n1, lo1, hi1) }

#####
#####

0 comments on commit dcfc187

Please sign in to comment.