using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Microsoft.Dafny { class Util { public delegate string ToString(T t); public static string Comma(string comma, IEnumerable l, ToString f) { string res = ""; string c = ""; foreach(var t in l) { res += c + f(t); c = comma; } return res; } } }