Created
November 3, 2015 17:06
-
-
Save leppie/4a9a3abf2e1005bb1b16 to your computer and use it in GitHub Desktop.
Columnwise summing in Scheme
This file contains hidden or 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
(define d | |
'((1 2 3 4) | |
(4 5 6 7) | |
(7 8 9 10) | |
(8 9 10 11) | |
(1 2 3 4))) | |
(apply map + d) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment