Arun
01/12/2022, 11:27 PMhfhbd
01/12/2022, 11:29 PMmikehearn
01/13/2022, 3:01 PMhfhbd
01/13/2022, 3:33 PMfun A.foo(b: B): C
with foo(a, b)
hfhbd
01/13/2022, 3:34 PMa.foo(b)
anyway 🙂xxfast
01/13/2022, 9:24 PMfriend
syntax from c++elizarov
02/09/2022, 8:37 AMfoo(a, b)
, or as a a.foo(b)
. While the philosophy of UFCS is that this decision should be made by the caller.hfhbd
02/09/2022, 3:04 PMval foo = fun Int.(s: String) { }
foo(42, "")
42.foo("")
elizarov
02/09/2022, 7:48 PM