summaryrefslogtreecommitdiff
path: root/MLKCons.h
diff options
context:
space:
mode:
Diffstat (limited to 'MLKCons.h')
-rw-r--r--MLKCons.h9
1 files changed, 8 insertions, 1 deletions
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.