Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nim handles this quite nicely for you: either syntax works!


For those unfamiliar, the UFCS¹ wikipedia page has an explanation and a few examples.

¹ https://en.m.wikipedia.org/wiki/Uniform_Function_Call_Syntax




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: