Compound References

Compound references look like structures from other languages. For example, in Glee you can expressions like (1000 => us.west.vol; us.west.vol * 1.98 => us.west.ext$;). Click on Commentaryto begin seeing how this works in Glee.

Commentary Code Result
Commentary #ns => @;
10=>p.q;[]%** $;
NS[R1C1:K]
Assoc[R2C1:P]:p:CV[1]
Commentary #ns => @;
'abc'=>p.q.str; 1..5=>p.q.num;
'<1>---------' $;
[] %** $;
'<2>---------' $;
(p.q ^@) %** $;
'<3>---------' $;
p.q@ =>pq; pq.str $;
'<4>---------' $;
pq.num $;
'<5>---------' $;
pq.num*10 =>pq.num $;
'<6>---------' $;
1000=>[3]pq.num;pq.num $;
<1>---------
NS[R1C1:K]
Assoc[R2C1:P]:p:CV[1]
<2>---------
CV[R2C2:K]
Assoc[R2C1:P]:str:String[3]
Assoc[R2C1:P]:num:Num[5]
<3>---------
abc
<4>---------
1 2 3 4 5
<5>---------
10 20 30 40 50
<6>---------
10 20 1000 40 50