4 ms·
I am suspicious that this macro would not be necessary in a language with better libraries. For example, this code: (zap [firstn votewindow* _] (uvar user vo
by lacker 17y ago
I am suspicious that this macro would not be necessary in a language with better libraries. For example, this code:
(zap [firstn votewindow* _] (uvar user votes))
In Python you wouldn't need a macro for this. You could just write
del uvar(user, votes)[votewindow:]
or
uvar(user, votes)[votewindow:] = []