-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joseph Williamson
committed
Apr 19, 2017
1 parent
b130c59
commit 20c681d
Showing
2 changed files
with
94 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
|
||
(picking) | ||
(cherry picking daddies) | ||
(a-friend) | ||
|
||
(defin 1st-rec | ||
(lambda (newlat seen) | ||
(a-friend)(cons (cherry) newlat) seen)) | ||
|
||
(define 2nd-rec | ||
lambda (newlat seen) | ||
1st-rec newlat (cons picking seen)) | ||
(define 3rd-rec | ||
lambda(newlat seen) | ||
2nd-rec (cons daddies newlat) seen)) | ||
|
||
(define final-rec | ||
col() ()) | ||
|
||
(define 3rd-rec | ||
lambda(newlat seen) | ||
2nd-rec (cons daddies newlat) seen)))(quote())(quote()) | ||
|
||
(define 3rd-rec | ||
lambda(newlat seen) | ||
2nd-rec (cons daddies (quote()) (quote()))) | ||
2nd-rec (daddies)(quote) | ||
|
||
define 2nd-rec | ||
lambda (newlat seen) | ||
1st-rec newlat (cons picking seen))(daddies)(quote) | ||
1st-rec daddies picking | ||
|
||
(defin 1st-rec | ||
(lambda (newlat seen) | ||
(cons (cherry) newlat) seen))(daddies) (picking) | ||
|
||
cons(cherry daddies ) (picking) | ||
#f | ||
|
||
|
||
(picking) | ||
(cherry derp daddies) | ||
(a-friend) | ||
|
||
(defin 1st-rec | ||
(lambda (newlat seen) | ||
(a-friend)(cons (cherry) newlat) seen)) | ||
|
||
(define 2nd-rec | ||
lambda (newlat seen) | ||
1st-rec (cons (derp) newlat) seen)) | ||
(define 3rd-rec | ||
lambda(newlat seen) | ||
2nd-rec (cons daddies newlat) seen)) | ||
|
||
(define final-rec | ||
col() ()) | ||
|
||
(define 3rd-rec | ||
lambda(newlat seen) | ||
2nd-rec (cons daddies newlat) seen)))(quote())(quote()) | ||
|
||
(define 3rd-rec | ||
lambda(newlat seen) | ||
2nd-rec (cons daddies (quote()) (quote()))) | ||
;sub | ||
2nd-rec (daddies)(quote) | ||
|
||
define 2nd-rec | ||
lambda (newlat seen) | ||
1st-rec (cons derp newlat ) seen )(daddies)(quote) | ||
1st-rec (derp picking)(quote()) | ||
|
||
(defin 1st-rec | ||
(lambda (newlat seen) | ||
(cons (cherry) newlat) seen))(derp picking)(quote()) | ||
|
||
(a-friend(cons(cherry derp picking ) (quote()))) | ||
#f |
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