home *** CD-ROM | disk | FTP | other *** search
- environ
- |
- |
- V
- |----------| |----------|
- | cons ⁿ ⁿ cons ⁿ
- |----------| |----------|
- | -------------------------> | ------> rest of NIL
- |----------ⁿáááááááááááá |----------ⁿ environment
- | | | | list
- |----|-----| |----|-----|
- | |
- V V
- |----------| |----------| pointer to secondì
- | cons ⁿ ⁿ cons ⁿ bindingì
- |----------| |----------|ì
- | --------->| ------> NILì
- |----------| |----------|ì
- | | | |ì
- |----|-----| |----|-----|ì
- | | ì
- V V ì
- |----------| |----------|ì
- | variable ⁿ ⁿ constant ⁿì
- |----------| |----------|ì
- | X | | joan |ì
- |----------| |----------|
-
-
- Figure 9 - A typical environment showing X bound to joan .