From 15e2f2443fa6ee9b3b4a78752ecafcc0722c7511 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Sun, 31 Aug 2008 10:57:21 +0200 Subject: Documentation: Add sections. --- MLKCons.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'MLKCons.h') diff --git a/MLKCons.h b/MLKCons.h index 8a79a99..32c346c 100644 --- a/MLKCons.h +++ b/MLKCons.h @@ -38,6 +38,8 @@ id _cdr; } +/*** Section: Creating and Initialising Conses ***/ + /* Method: +cons:with: Cons two objects together. @@ -51,7 +53,6 @@ */ +(MLKCons*) cons:(id)car with:(id)cdr; - /* Method: +listWithArray: Make a linked list of cons cells out of an array. */ @@ -70,6 +71,9 @@ */ -(MLKCons*) initWithCar:(id)car cdr:(id)cdr; + +/*** Section: Accessing Components ***/ + /* Method: -car The car of the cons cell. @@ -106,6 +110,9 @@ */ -(void) setCdr:(id)value; + +/*** Section: Converting to Other Container Types ***/ + /* Method: -array Return the content of the linked list represented by this cons cell as an array. -- cgit v1.2.3