[next][previous][up][top][index]
search for:

VisibleList -- class of all visible lists

There are three types of lists that can be entered directly from the keyboard, as follows.

i1 : {a,b,c}

o1 = {a, b, c}

o1 : List
i2 : [a,b,c]

o2 = [a, b, c]

o2 : Array
i3 : (a,b,c)

o3 = (a, b, c)

o3 : Sequence

We introduce the class of visible lists as a convenience for referring to lists of these types.

The type VisibleList is a member of the class Type. Each object of class VisibleList is called a visible list. Each visible list is also a member of class BasicList.

Types of VisibleList :

  • Array -- class of all arrays -- [...]
  • List -- class of all lists -- {...}
  • Sequence -- class of all sequences -- (...)
  • Making a visible list :

  • Function \ VisibleList -- apply a function to each member of a list
  • VisibleList / Function -- apply a function to each member of a list
  • accumulate(Function,Thing,VisibleList) -- apply binary operator repeatedly
  • accumulate(Function,VisibleList) -- apply binary operator repeatedly
  • accumulate(VisibleList,Function) -- apply binary operator repeatedly
  • accumulate(VisibleList,Thing,Function) -- apply binary operator repeatedly
  • flatten VisibleList
  • fold(Function,Thing,VisibleList) -- apply binary operator repeatedly
  • fold(Function,VisibleList) -- apply binary operator repeatedly
  • fold(VisibleList,Function) -- apply binary operator repeatedly
  • fold(VisibleList,Thing,Function) -- apply binary operator repeatedly
  • Methods for using a visible list :

  • member(Thing,VisibleList)

  • [next][previous][up][top][index]
    search for: