Commit 4a15eba1 authored by pysaumont's avatar pysaumont
Browse files

Fixed List.mkStr

parent b7dd4a97
......@@ -670,7 +670,7 @@ public abstract class List<A> {
@Override
public String mkStr(String sep) {
return head.toString() + foldLeft("", s -> e -> s + sep + e.toString());
return head.toString() + tail.foldLeft("", s -> e -> s + sep + e.toString());
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment