Skip to content

Commit

Permalink
Removing Arb.create which seems to not exist anymore
Browse files Browse the repository at this point in the history
I tried to figure out when it was introduced to see what happened to it.
It seems to have been around when the list of generators was first created in 2020
so it was hard to see exactly where it was added.

Just removing the function from the list for now to avoid further confusion.
  • Loading branch information
Kantis committed Feb 3, 2024
1 parent 4861afa commit 42ff081
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion documentation/docs/proptest/genslist.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ We also provide generators for [Arrow](arrow.md) as a separate module.
| `Arb.uuid(type)` | Generates random UUIDs of the given type || | |
| `Arb.domain(tlds, labelArb)` | Generates random domains with a random tld (defaults to any of the top 120 TLDs) and a label generator, which generates domain parts. ||||
| **Builders** | | | | |
| `Arb.create(fn)` | Generates values using the supplied function. ||||
| `Arb.bind(arbA, arbB, fn)` | Generates values by pulling a value from each of the two given arbs and then passing those values to the supplied function. ||||
| `Arb.bind(arbA, arbB, arbC, fn)` | Generates values by pulling a value from each of the three given arbs and then passing those values to the supplied function. ||||
| `Arb.bind(arbA, ...., fn)` | Generates values by pulling a value from each of the given arbs and then passing those values to the supplied function. ||||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ We also provide generators for [Arrow](arrow.md) as a separate module.
| `Arb.uuid(type)` | Generates random UUIDs of the given type || | |
| `Arb.domain(tlds, labelArb)` | Generates random domains with a random tld (defaults to any of the top 120 TLDs) and a label generator, which generates domain parts. ||||
| **Builders** | | | | |
| `Arb.create(fn)` | Generates values using the supplied function. ||||
| `Arb.bind(arbA, arbB, fn)` | Generates values by pulling a value from each of the two given arbs and then passing those values to the supplied function. ||||
| `Arb.bind(arbA, arbB, arbC, fn)` | Generates values by pulling a value from each of the three given arbs and then passing those values to the supplied function. ||||
| `Arb.bind(arbA, ...., fn)` | Generates values by pulling a value from each of the given arbs and then passing those values to the supplied function. ||||
Expand Down

0 comments on commit 42ff081

Please sign in to comment.