Created
December 4, 2013 03:09
-
-
Save voila/7781731 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| %% same property but we want to see how often X belongs to L | |
| prop_delete2() -> | |
| ?FORALL({X,L}, | |
| {integer(), list(integer())}, | |
| collect(lists:member(X, L), %% does X belongs to L ? | |
| not lists:member(X, delete_all(X, L)))). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment