From: Ramakrishnan Muthukrishnan Date: Thu, 16 Sep 2010 18:27:27 +0000 (+0530) Subject: exposing some functions for use by other exercises X-Git-Url: https://git.rkrishnan.org/about.html?a=commitdiff_plain;h=a04401f8f7736a0ca300c40b437f74a070d19e76;p=sicp.git exposing some functions for use by other exercises --- diff --git a/src/sicp/ch2_3.rkt b/src/sicp/ch2_3.rkt index 4515758..fe94cf8 100644 --- a/src/sicp/ch2_3.rkt +++ b/src/sicp/ch2_3.rkt @@ -70,4 +70,13 @@ (cadr pair)) (make-leaf-set (cdr pairs)))))) -(provide make-code-tree make-leaf decode leaf? symbol-leaf left-branch right-branch symbols) \ No newline at end of file +(provide make-code-tree + make-leaf + decode + leaf? + symbol-leaf + left-branch + right-branch + symbols + make-leaf-set + adjoin-set) \ No newline at end of file diff --git a/src/sicp/ex2_68.rkt b/src/sicp/ex2_68.rkt index 0606774..108001c 100644 --- a/src/sicp/ex2_68.rkt +++ b/src/sicp/ex2_68.rkt @@ -40,4 +40,5 @@ sample-tree) sample-tree) sample-message) - \ No newline at end of file + +(provide encode) \ No newline at end of file