Group Abstract Group Abstract

Message Boards Message Boards

1
|
6.2K Views
|
2 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Idiom to recurse over a list ?

Posted 10 years ago
POSTED BY: Fabien Todescato
2 Replies
POSTED BY: Fabien Todescato
Posted 10 years ago

Is that ok?

 Fold[#2 -> #1 &, 0, Reverse @ Range @ 8]
1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8 -> 0
POSTED BY: Kuba Podkalicki
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard