diff options
author | Rich Hickey <richhickey@gmail.com> | 2006-08-05 17:52:25 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2006-08-05 17:52:25 +0000 |
commit | 5572d24dae42bf686048a1add52437b4b3627ca0 (patch) | |
tree | 9b74398e86d184866187fdb2992dc3f69f15166e /src/cli/runtime/PersistentListMap.cs | |
parent | 73f8a4754a43dfce194989457b54aceca5595979 (diff) |
added IPersistentList, ASeq
Diffstat (limited to 'src/cli/runtime/PersistentListMap.cs')
-rw-r--r-- | src/cli/runtime/PersistentListMap.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cli/runtime/PersistentListMap.cs b/src/cli/runtime/PersistentListMap.cs index f0c55492..272ca299 100644 --- a/src/cli/runtime/PersistentListMap.cs +++ b/src/cli/runtime/PersistentListMap.cs @@ -49,6 +49,16 @@ internal virtual PersistentListMap next(){ return this;
}
+public Object peek()
+ {
+ return first();
+ }
+
+public IPersistentList pop()
+ {
+ return rest();
+ }
+
override public int count(){
return 0;
}
|