Comment Comment by jldugger Type error. your lambda doesn't have a valid static type signature. You would wrap that around a union type:wtf = A of string | B of floatAnd then you'd return A("abc") or B(2.01) and your function would be () -> wtf parent jldugger 6 years ago
wtf = A of string | B of float
And then you'd return A("abc") or B(2.01) and your function would be () -> wtf