[Inquiry] Re: Theme One Program -- Commentary Note -- List
Jon Awbrey
jawbrey at oakland.edu
Wed Mar 19 15:24:46 CST 2003
o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o
TOP. Commentary Note -- List
o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o
List.
Step 1.
o-------------------------------o
| o-----o o-----o |
o-->| |--> ··· -->| |---o
o-----o o-----o
^
this | mark = "a"
@
Step 2.
o-------------------------------o o-------------o
| o-----o o-----o | | o-----o |
o-->| |--> ··· -->| |---o o-->| a 0 |---o
o-----o o-----o o-----o
^ ^
this | bud |
@ @
Step 3.
o-------------------------------------------------o
| o-----o o-----o o-----o |
o-->| |--> ··· -->| |---------->| a 0 |---o
o-----o o-----o o-----o
^
list |
@
function list (this: idea;
mark: char): idea;
begin
list := graft (this, bud (mark))
end;
(5347)(7687)
o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o
More information about the Inquiry
mailing list