RosettaCodeData/Task/Y-combinator/C-sharp/y-combinator-10.cs
2023-07-01 13:44:08 -04:00

5 lines
114 B
C#

static Func Y(FuncFunc f) {
return delegate (int x) {
return f(Y(f))(x);
};
}