function merge<A: {}, B: {}, C: B & A>(a: A, b: B): C {...}
to return an anonymous type instead of a constrained monomorph somehow. Or, if that is impossible have a way to definitively close monomorph C before using it.
getInfos()
. nvm then
Pure functions closely resemble mathematical functions: they do nothing other than compute an output value based on their input values.
Not bad x)
public interface SomethingPipe<T> where T : Something
how does one go about making this in Haxe.