File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 222222 (with-out-str
223223 ; ;(prn {:ed ed})
224224 (doseq [{:keys [path pred val reason via in] :as prob} problems]
225- (when-not (empty? in)
226- (print " In:" (pr-str in) " " ))
227- (print " val: " )
228225 (pr val)
229- (print " fails" )
230- (when-not (empty? via)
231- (print " spec:" (pr-str (last via))))
226+ (print " - failed: " )
227+ (if reason (print reason) (pr (abbrev pred)))
228+ (when-not (empty? in)
229+ (print (str " in: " (pr-str in))))
232230 (when-not (empty? path)
233- (print " at:" (pr-str path)))
234- (print " predicate: " )
235- (pr (abbrev pred))
236- (when reason (print " , " reason))
231+ (print (str " at: " (pr-str path))))
232+ (when-not (empty? via)
233+ (print (str " spec: " (pr-str (last via)))))
237234 (doseq [[k v] prob]
238235 (when-not (#{:path :pred :val :reason :via :in } k)
239236 (print " \n\t " (pr-str k) " " )
You can’t perform that action at this time.
0 commit comments