Previous Page Next Page Contents

Cat::FiniteCollection -- the category of finite collections

Introduction

Cat::FiniteCollection represents the category of finite collections, i.e., the category of ``universal'' bags.

Generating the category

Cat::FiniteCollection()

Categories

Cat::BaseCategory

Details

Method _index: returns element given its index

Method map: maps function on elements

Method nops: returns number of elements

Method op: returns certain elements

Method set_index: changes element with given index

Method subs: substitute in elements

Method subsop: substitute operands

Method mapCanFail: maps function on elements

Method testEach: test each element with a predicate

Method testOne: tests if element exists fulfilling a predicate

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000