Port some convenience list functions from QuickCheck
rpglover64 opened this issue · 2 comments
rpglover64 commented
UnkindPartition commented
This is unnecessarily complicated. There's Data.List.permutations
.
rpglover64 commented
Just permutations
lacks the (somewhat desirable) property that the number of permutations considered varies with Depth
; that said, I guess either (\x -> generate (flip take x)) . permutations
or (\x -> generate (flip take x . (2^)) . permutations
would work.