User Tools

Site Tools


at:tutorial:basic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
at:tutorial:basic [2007/04/06 15:17] – * elisagat:tutorial:basic [2007/04/06 15:18] – * elisag
Line 66: Line 66:
 ==== Table Splicing ==== ==== Table Splicing ====
  
-AmbientTalk provides the operator @ to splice tables into surrounding table expressions. +AmbientTalk provides an operator (@to splice tables into surrounding table expressions. 
 <code> <code>
 >[1,@[2,3],4] >[1,@[2,3],4]
Line 74: Line 74:
 </code> </code>
  
-The operator can be also used for matching table elements as shown below.+The splicing operator can be also used for matching table elements as shown below.
 <code> <code>
 >def [first, @rest] := [1,2,3,4] >def [first, @rest] := [1,2,3,4]
at/tutorial/basic.txt · Last modified: 2020/02/09 22:05 by elisag