Solution to Exercise 4.33
jonathantorres opened this issue · comments
Jonathan Torres commented
function an_integer_between(low, high) {
require(low <= high);
return amb(low, an_integer_between(low+1, high));
}
XML sources of SICP and SICP JS, and support for generating Interactive SICP JS, PDF, e-book and comparison editions
jonathantorres opened this issue · comments
function an_integer_between(low, high) {
require(low <= high);
return amb(low, an_integer_between(low+1, high));
}