Lists of lists

Author(s): The Ciao Development Team.

Usage and interface

Documentation on exports

PREDICATEappend/2

Usage:

Concatenates a list of lists into a list.

PREDICATEflatten/2

Usage:

Flattens out nested lists into a list.

Usage:

Collects in a list the singletons lists appearing in a list of lists.

PREDICATEtranspose/2

Usage:

Transposes a list of lists, that is, viewing it as a matrix changes rows by columns.

  • Call and exit should be compatible with:
    (basic_props:list/2)Arg2 is a list of lists.
  • The following properties should hold at call time:
    (basic_props:list/2)Arg1 is a list of lists.
  • The following properties should hold upon exit:
    (basic_props:list/2)Arg2 is a list of lists.

Documentation on imports

This module has the following direct dependencies: