Created
April 4, 2010 14:29
-
-
Save VoQn/355435 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /opt/local/bin/gosh -i | |
;; -*- mode: scheme; coding: utf-8 -*- | |
;;; SICP ex2.45 | |
;;; define "split" procedure | |
(define right-split (split beside below)) | |
(define up-split (split below beside)) | |
(define (split first-modify second-modify) | |
(lambda (painter) | |
(first-modify painter (second-modify painter painter)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment