This action will delete this post on this instance and on all federated instances, and it cannot be undone. Are you certain you want to delete this post?
This action will delete this post on this instance and on all federated instances, and it cannot be undone. Are you certain you want to delete this post?
This action will block this actor and hide all of their past and future posts. Are you certain you want to block this actor?
This action will block this object. Are you certain you want to block this object?
til... the following works in #crystallang
[{1}, {2}, {3}].sort_by(&.first.-) # => [{3}, {2}, {1}]
because -
is a method that returns the negative value of the number on which it is called. (the tuple in the example is obviously contrived...) this is in contrast to the following, which do the same thing but are more verbose:
puts [{1}, {2}, {3}].sort_by { |t| -t.first } puts [{1}, {2}, {3}].sort_by(&.first).reverse