Re: Differences in generator output for gen/fmap

2018-10-05 Thread Alexander Sedgwick
Nevermind, I see now the infinite loop I've generated.. I'll delete the post thanks! On Friday, October 5, 2018 at 1:49:12 PM UTC-5, Alexander Sedgwick wrote: > > I'm running into differences when having gen/fmap inside a s/with-gen vs > running it outside a s/with-gen. Am I missing something? >

Differences in generator output for gen/fmap

2018-10-05 Thread Alexander Sedgwick
I'm running into differences when having gen/fmap inside a s/with-gen vs running it outside a s/with-gen. Am I missing something? ```clojure (ns scribble (:require [clojure.spec.alpha :as s] [clojure.spec.gen.alpha :as gen])) (s/def ::some-int (s/or :zero zero? :pos pos-i