Changes for page WebObjects and Squeryl

Last modified by Ravi Mendis on 2011/04/01 11:14

From version 70.1
edited by Ravi Mendis
on 2011/03/31 23:27
Change comment: There is no comment for this version
To version 69.1
edited by Ravi Mendis
on 2011/03/31 23:35
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -58,9 +58,9 @@
58 58  
59 59  {{/code}}
60 60  
61 -h5 2. Iteration
61 +===== 2. Iteration =====
62 62  
63 -Functional language iteration that's become increasingly popular
63 +Functional language iteration that's become increasingly popular can be used:
64 64  
65 65  {{code}}
66 66  
... ... @@ -69,3 +69,11 @@
69 69  })
70 70  
71 71  {{/code}}
72 +
73 +===== 3. For-Comprehensions =====
74 +
75 +{{code}}
76 +
77 +def activeFiles = for (file <- files if file.active == true) yield f
78 +
79 +{{/code}}