Feedback Re: anamerge 

Forum: Com Sci 221, U Chicago, Autumn 2001, Discuss Classwork
Re: News Assignment #8 due Monday, 26 November (Mike O'Donnell)
Re: Sad Anamerge Confusion (Mamun Tanveer)
Date: 2001, Nov 28
From: Jesse Dailey jldailey

(p1 :: r) means a list whose first element is p1, and the rest of which is also a list, called r.

by the name p1, i assumed it must be a pair, and r is the remainder. if you know scheme/lisp p1 is that car of the argument and r is the cdr.

so with ((c2 :: l2) :: rr), this means that there is a list whose car is a list, whose car is a canonical form, and whose cdr is a list of words associated with that form, and the cdr of the whole thing is rr, the remainder.

hope this helps.

jesse.


Messages

1. More But.... by Mamun Tanveer, 2001, Nov 28
1. Feedback Be careful about lists vs. pairs vs. list elements by Mike O'Donnell, 2001, Nov 28
(_ None Final data types by Jesse Dailey, 2001, Nov 28
(_ Feedback Output is list of lists, not list of pairs by Mike O'Donnell, 2001, Nov 28
2. Agree :: is infix cons by Mike O'Donnell, 2001, Nov 28

to: "Re: anamerge"