Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a unique identifier to each conditional clause literal.
Since these literals contain actual Haskell functions, comparing them is difficult. This change gives each one a unique id that can be used in comparisons later. This was necessary because rules must be looked up in a map during query planning and, without a way for conditional clauses to compare as equal, that lookup cannot succeed. This change does not break the API unless you used type annotations on fragments of rules.
- Loading branch information
Tristan Ravitch
committed
Aug 1, 2012
1 parent
e6a8cc0
commit e4f30f8
Showing
4 changed files
with
61 additions
and
35 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
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
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
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