Skip to content

Commit

Permalink
Only print debugging info when debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpombrio committed Feb 19, 2018
1 parent 7a14d52 commit b00b2d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions unify.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,7 @@
(append premises assumptions))))

(define (found-derivation! deriv)
#;(show-derivations (list deriv))
(printf "Derivation found!\n~a\n" deriv))
(debug "Derivation found!\n~a\n" deriv))

(define (resugar-derivation rule deriv)
(let* [[premises (map read-premise (get-premises deriv))]
Expand Down

0 comments on commit b00b2d3

Please sign in to comment.