[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Read the Documentation first!



Re your confusion of CAR/CDR on hunks, and GET on hunks:
    Date: 17 February 1981 14:50-EST
    From: Kent M. Pitman <KMP at MIT-MC>
    It was frequently advertised by word of mouth in the lab, that hunks
    were car/cdr-able. .  .  .   Maclisp
    documentation sucks in its currently released state. It is not fair for
    you to claim that the lack of documentation is lack of contract.
TUESDAY  JUNE 15,1976   FM+3D.2H.27M.33S.   LISP 1160  - GLS -
	[5B] .  .  .
	     (CXR N H) RETURNS THE N'TH ELEMENT OF THE HUNK H.
		(CXR 0 H) IS EQUIVALENT TO (CAR H), AND (CXR 1 H)
		IS EQUIVALENT TO (CDR H); IN FACT, THE CAR AND CDR
		FUNCTIONS MAY BE USED ON HUNKS AS WELL AS ON LISTS.