Details
Assignee
UnassignedUnassignedReporter
importimportLabels
Patch
Code and TestPriority
MinorAffects versions
Details
Details
Assignee
Unassigned
UnassignedReporter
import
importLabels
Patch
Code and Test
Priority
Affects versions
Created July 24, 2016 at 11:30 PM
Updated June 22, 2018 at 3:56 PM
When using `clojure.spec` for elaborate specifications and `clojure.spec.gen` for generative testing, developers often find themselves writing code which heavily relies on `clojure.spec.gen/fmap`. This is sometimes unnatural and difficult to read.
To make writing custom generators easier, this patch ports `test.check/let` to `clojure.spec.gen`. Now developers can write generators more simply.