2010-01-20-functions-on-the-fly

2010-01-20-functions-on-the-fly - constructor...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
;; The first three lines of this file were inserted by DrScheme. They record metadata ;; about the language level of this file in a form that our tools can easily process. #reader(lib "htdp-intermediate-lambda-reader.ss" "lang")((modname 2010-01-20- functions-on-the-fly) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: constructor repeating-decimal #f #t none #f ()))) (define (sum a b) (+ a b)) (sum 3 4) ;; what variable "7" is stored - there isn't ;; if fact 7 doesn't exist untill we run it ; ;; scheme create new functions on the fly, just like it create integers on the fly (lambda (x) (+ x 1))...
View Full Document

This document was uploaded on 02/12/2010.

Ask a homework question - tutors are online