Created
July 2, 2015 23:04
-
-
Save tetsu-miyagawa/f930cc26ea042f359dcd to your computer and use it in GitHub Desktop.
SICP Execise 1.22 start-prime-test
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
(define (start-prime-test n start-time) | |
(if (prime? n) | |
(report-prime (- (runtime) start-time)) | |
#f)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment