This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Contract: print : expr expected_expr -> | |
;;expr "should be" expected_expr | |
;; Purpose: to test expressions to find out whether they're | |
;; correct or not | |
;; Examples: (print (inches->cm 22/7) 7.98287514) | |
;; => "3.142857142857143 should be 7.98287514" | |
;; Definition: [refines the header] |