[svn] r5825: nemerle/trunk/lib/list.n
trupill
svnadmin at nemerle.org
Sun Oct 16 21:10:26 CEST 2005
Log:
Add Group to list. By some reason, it's only included in List as a static method, so make it a instance method on list.
Author: trupill
Date: Sun Oct 16 21:10:23 2005
New Revision: 5825
Modified:
nemerle/trunk/lib/list.n
Modified: nemerle/trunk/lib/list.n
==============================================================================
--- nemerle/trunk/lib/list.n (original)
+++ nemerle/trunk/lib/list.n Sun Oct 16 21:10:23 2005
@@ -292,6 +292,10 @@
NCL.FoldRight (this, acc, f)
}
+ public Group (cmp : 'a * 'a -> int) : list [list ['a]] {
+ NCL.Group (this, cmp)
+ }
+
/* -- LIST SCANNING ----------------------------------------------------- */
/**
More information about the svn
mailing list