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 revision
Previous revision
Next revisionBoth sides next revision
at:tutorial:basic [2007/04/06 15:17] – * elisagat:tutorial:basic [2007/04/17 16:24] – * tvcutsem
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]
Line 211: Line 211:
 >def square := { |x| x * x } >def square := { |x| x * x }
 >><closure:lambda> >><closure:lambda>
->square(1,2+>square(3
->>3+>>9
 </code> </code>
  
at/tutorial/basic.txt · Last modified: 2020/02/09 22:05 by elisag