Next Previous Up Top Contents Index

3.2 The TABLE-EXTENSIONS module

remove-all-keys!

Sealed g.f. method

Summary

Removes all keys from a table and leaves it empty.

Library

common-extensions

Module

table-extensions

Signature

remove-all-keys! table => table 

Arguments

table
An instance of <table>.

Values

table
An instance of <table>.

Description

Modifies table by removing all its keys and elements, and leaves it empty.

This method does not use remove-key!.

Note: To empty collections that are not instances of <mutable-explicit-key-collection>, use size-setter.


Common Dylan and Functional Extensions - 31 Mar 00

Next Previous Up Top Contents Index