Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
Frequently Asked Questions
Programming KRL
- 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 pick() operator or the more explicit looping of the map() and filter() operators. For everything else, there's always recursion.