On  9 Sep, Christian Sievers wrote:
> It's a good idea to use two different types in an example, but Char
> is not well chosen, because the canonical way to write the above
> result is ("abc",[1,2,3]).

Good point.  String is best:

 unzip [("a", 1), ("b", 2), ("c", 3)] = (["a", "b", "c"], [1, 2, 3])


-- 
Jón Fairbairn                                 [EMAIL PROTECTED]




Reply via email to