3 lines
93 B
Swift
3 lines
93 B
Swift
func Y<In, Out>( f: (In->Out) -> (In->Out) ) -> (In->Out) {
|
|
return { x in f(Y(f))(x) }
|
|
}
|