use: (import (igropyr igropyr))
association list
Igropyr uses a kind of compound list structures, called association list
.
Its composition is as follows:
((k1 . v1) (k2 . v2) (k3 . v3) ...)
The key
may be a character, a number or a string. Thevalue
can be a characters, a numbers, a strings or a procedure.
ref
procedure: (ref association-list key)
return: num, char, string or procedure
ref
use to search a value
by key
in a association list
.
val
procedure: (val association-list value)
return: num, char, string
val
use to search a key
by value
in a association list
.