Farey sequence: Difference between revisions

m
(→‎{{header|langur}}: edits for langur 0.13)
Line 2,160:
 
{{works with|langur|0.13}}
0.13 requires impure functions to be declared as impure. The .testFarey() function is impure because it uses writeln(). Of course, this could be written differently.
 
<syntaxhighlight lang="langur">val .farey = f(.n) {
973

edits