[racket] Calculating cumulative sum of the list

From: Alexandr M (rus314 at gmail.com)
Date: Thu Jan 22 08:53:47 EST 2015

Hello,

I am trying to replicate functionality of this code in Python:

https://gist.github.com/m-blog/22b7c5d31b3839ffba50#file-cumsum-py

in Racket without usage of any libraries.

What would the most optimal / concise way to do it in Racket?

Thank you.

-- 
Best regards,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20150122/73385960/attachment-0001.html>

Posted on the users mailing list.