Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Can I loop in the prelude? No. At least not as that term is commonly applied in programming. KRL does not allow assignment in the prelude (those are declarations). While and for loops without assignment don't make much sense. Usually any looping that needs to be done in the prelude can be accomplished using the implicit loops of the operators like pick() operator or the more explicit looping of the , map() and ,filter() operators, and so on. For everything else, there's always recursion. 

...