Hacker News new | past | comments | ask | show | jobs | submit login

In Toit, which is in some ways a Smalltalk dialect that would be:

t.rotate a v

Alternatively if the rotate method uses named args:

t.rotate --by=a --around=v

(See toitlang.org).




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: