File: loop.ozm

package info (click to toggle)
zoem 11-166-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 2,456 kB
  • ctags: 2,038
  • sloc: ansic: 18,291; sh: 785; makefile: 109
file content (15 lines) | stat: -rw-r--r-- 297 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

nested application of apply using anonymous macros.
[ (1) (4) (9) (16) (25) ]
[ (16) (25) (36) ]
[ (49) (64) (81) ]

nested application of apply using normal macros.
[ (1) (4) (9) (16) (25) ]
[ (16) (25) (36) ]
[ (49) (64) (81) ]

reversing successive varargs
{5}{4}{3}{2}{1}
{6}{5}{4}
{9}{8}{7}