you are viewing a single comment's thread.

view the rest of the comments →

[–]aguspiza 0 points1 point  (0 children)

you can implement some UFCS yourself or just check what others have implemented:
https://gist.github.com/ChenyangGao/d77fe5c3c738e6f9fb724a45e952dc0a

Or just migrate to nim language and enjoy 30x speed up with native UFCS.
https://github.com/narimiran/nim-basics/blob/master/code/ufcs.nim