File: loop.ozm

package info (click to toggle)
zoem 21-341-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,980 kB
  • sloc: ansic: 9,386; sh: 1,113; makefile: 108
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}