OEP

135

Title

Expression replicators

Summary

Allow array constructors to work as lvalues.

Owner

Adam Sampson <ats@offog.org>

Status

Proposed

Date-Proposed

2006-03-14

Keywords

language constructors

It would be useful to generalise array constructor expressions into expression replicators, by making them work as lvalues:

[a[i] | i = 0 FOR 4 STEP 2] := [1, 2, 3, 4]
[N]CHAN foos IS [i = 0 FOR N | array[map[i]]]:

OEP/135 (last edited 2007-09-27 00:57:13 by ats1)