Blob


1 ;; The first three lines of this file were inserted by DrScheme. They record metadata
2 ;; about the language level of this file in a form that our tools can easily process.
3 #reader(lib "htdp-intermediate-reader.ss" "lang")((modname 17.1.0) (read-case-sensitive #t) (teachpacks ((lib "draw.ss" "teachpack" "htdp") (lib "arrow.ss" "teachpack" "htdp") (lib "dir.ss" "teachpack" "htdp"))) (htdp-settings #(#t constructor repeating-decimal #f #t none #f ((lib "draw.ss" "teachpack" "htdp") (lib "arrow.ss" "teachpack" "htdp") (lib "dir.ss" "teachpack" "htdp")))))
4 A list-of-data is either
5 1. empty or
6 2. (cons d lod) where d is a Scheme datum and lod is a list-of-data.
8 replace-eol-with : list-of-data list-of-data -> list-of-data
9 Given lod1 and lod2, append lod2 to the end of lod1.
11 (define (replace-eol-with lod1 lod2)
12 (