-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Zilin Chen
authored and
Zilin Chen
committed
Jan 10, 2018
1 parent
2da2847
commit 3a31b6e
Showing
1 changed file
with
1 addition
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
type RbtNode k v | ||
|
||
type ElemAO a acc obsv = #{elem:a, acc:acc, obsv:obsv!} | ||
|
||
type RbtConsumeF k v acc obsv = RbtElemAO k v acc obsv -> acc | ||
type RbtCondF k v acc obsv = (RbtElemAO k v acc obsv)! -> Bool | ||
|
||
type RbtElemAO k v acc obsv = ElemAO (RbtNode k v) acc obsv | ||
|
||
rbtFTrue: all(k:< DS, v :<DS, acc, obsv). RbtCondF k v acc obsv | ||
rbtFTrue: all(k:< DS, v :<DS, acc, obsv). (#{elem:RbtNode k v, acc:acc, obsv:obsv!})! -> Bool | ||
rbtFTrue _ = True | ||
|
||
|