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
find . -iname .git | xargs -I % sh -c 'cd %/..; pwd; git stash list | sed "s/^/ /"' |
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
; Minimal "object oriented" scaffolding | |
(define (object methods) | |
(lambda (label method-parameters) | |
((cdr (assoc label methods)) method-parameters))) | |
; declaration: easily do funkier state stuff here | |
(define (person name dob) | |
(object `( (name . ,(lambda () name)) | |
(age . ,(lambda (today) (- today dob)))))) ; absolute nonsense, but an example of param passing |
OlderNewer