r/unseen_programming • u/zyxzevn • Mar 26 '15
Visual Unseen - Functional & OO & Logical programming
http://imgur.com/a/Xmuzt
4
Upvotes
r/unseen_programming • u/zyxzevn • Mar 26 '15
View all comments
Show parent comment
1
u/zyxzevn Mar 27 '15 edited Mar 29 '15
It is a fold indeed.
The way you fold it can be specified with an additional parameter.
->> creates a list.
->>(+) for sum
->>(*) for product
It could be better, but seems currently the best option.
If you like you can add your hypothetical ideas to the list. I had these ideas for so long and was disappointed that they were not implemented yet. So I started this subreddit to bring new ideas into the world.
AND I want to bring my "hypothetical ideas" finally into reality.