lib/standard: revamp doc of `Map::join`
authorAlexis Laferrière <alexis.laf@xymus.net>
Fri, 17 Jul 2015 14:09:59 +0000 (10:09 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Sat, 18 Jul 2015 13:46:22 +0000 (09:46 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/standard/text/abstract_text.nit

index f8d5c73..af45dab 100644 (file)
@@ -1629,15 +1629,15 @@ redef class Collection[E]
 end
 
 redef class Map[K,V]
-       # Concatenate couple of 'key value'.
-       # key and value are separated by `couple_sep`.
-       # each couple is separated each couple with `sep`.
+       # Concatenate couples of key value.
+       # Key and value are separated by `couple_sep`.
+       # Couples are separated by `sep`.
        #
-       #     var m = new ArrayMap[Int, String]
+       #     var m = new HashMap[Int, String]
        #     m[1] = "one"
        #     m[10] = "ten"
        #     assert m.join("; ", "=") == "1=one; 10=ten"
-       fun join(sep: String, couple_sep: String): String is abstract
+       fun join(sep, couple_sep: String): String is abstract
 end
 
 redef class Sys