Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REFACTOR: library(rbtrees) to use more => style rules and use det/1.
This refactoring guards at practically zero overhead cost against errors such as passing variable rather than a Red-Black tree, passing an invalid Red-Black tree. This patch makes the library strictly stead-fast. Finally, many test cases are added. Fix is_rbtree/1 fail condition; use => in more places
- Loading branch information
062a975
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit has been mentioned on SWI-Prolog. There might be relevant details there:
https://swi-prolog.discourse.group/t/example-of-converting-code-to-ssu/4713/1