3 ms·
Reminds me of vim script's implicit method syntax [1] Eg. any function call can be converted to a method call on the function's first parameter: let mylis
by kmarc 1y ago
Reminds me of vim script's implicit method syntax [1]
Eg. any function call can be converted to a method call on the function's first parameter:
let mylist = [3, 2, 1]
" prints "1" as these two are equivalent
echo sort(mylist) == mylist->sort()
Helps a lot with chaining.