Folding of code blocks (example in phi-function)