From a04401f8f7736a0ca300c40b437f74a070d19e76 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan <vu3rdd@gmail.com> Date: Thu, 16 Sep 2010 23:57:27 +0530 Subject: [PATCH] exposing some functions for use by other exercises --- src/sicp/ch2_3.rkt | 11 ++++++++++- src/sicp/ex2_68.rkt | 3 ++- 2 files changed, 12 insertions(+), 2 deletions(-) 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 -- 2.45.2