Previous Up Next

6.3.5  Selecting elements of a list

The select command selects elements of a list meeting the given conditions.

Example

select(x->(x>=2),[0,1,2,3,1,5])
     
⎡
⎣
2,3,5⎤
⎦
          

Previous Up Next