Skip to content

Commit

Permalink
fn:while, edits. qt4cg#80
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianGruen committed Oct 25, 2022
1 parent f2691e2 commit b732efa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specifications/xpath-functions-40/src/function-catalog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16684,13 +16684,13 @@ return $map?numbers
</fos:example>
</fos:examples>
<fos:notes>
<p>While loops are very common in procedural programming languages, and this function
<p>While-loops are very common in procedural programming languages, and this function
provides a way to write functionally clean and interruptible iterations without
side-effects. An initial value is tested and replaced by new values until it matches
a given condition. Depending on the use case, the value can be a simple atomic item
or an arbitrarily complex data structure.</p>
<p>Note that, similar to when writing recursive functions, it is easily possible to
construct infinite loops.</p>
<p>Note that, just as when writing recursive functions, it is easy to construct infinite
loops.</p>
</fos:notes>
</fos:function>
<fos:function name="for-each-pair" prefix="fn">
Expand Down

0 comments on commit b732efa

Please sign in to comment.