Created
April 12, 2015 00:32
-
-
Save kouddy/f952d429314c85739040 to your computer and use it in GitHub Desktop.
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 (square-tree2 tree) | |
(if (pair? tree) | |
(map square-tree2 tree) | |
(* tree tree))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment