Skip to content

Commit

Permalink
Making README examples for sensicle
Browse files Browse the repository at this point in the history
  • Loading branch information
mpope9 committed Dec 26, 2019
1 parent 5c22b42 commit 39b8927
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ This library uses dirty nifs for initializing filters over 10K elements! Make s
## Example Usage
Basic usage with default hashing is as follows:
```erlang
Filter = exor_filter:xor8(["test1", "test2", "test3"]),
true = exor_filter:xor8_contain(Filter, "test1"),
false = exor_filter:xor8_contain(Filter, "test6"),
Filter = exor_filter:xor8(["cat", "dog", "mouse"]),
true = exor_filter:xor8_contain(Filter, "cat"),
false = exor_filter:xor8_contain(Filter, "goose"),
ok = exor_filter:xor8_free(Filter).
```

Expand Down

0 comments on commit 39b8927

Please sign in to comment.