TU-Berlin → Inst. f. Mathematik → Algebra und Zahlentheorie → KASH → Documentation → Reference Manual
KASH3 Reference Manual
search    

Function

Rassoc ( alist A, any val ) -> any key

Optional Arguments

FailanyDetermines what to return in case of failure.

Description

Return a list of keys whose associations are `val' in the alist `A'.

Examples

A:=Alist(["foo","someval1"],["bar","someval2"]); Rassoc(A,"someval1"); Rassoc(A,25);
Built: Mon Nov 14 21:12:39 UTC 2005 on mack
The KANT Group