Groups | Search | Server Info | Login | Register
Groups > comp.lang.forth > #23549
| From | "WJ" <w_a_x_man@yahoo.com> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | sort_by |
| Date | 2013-06-13 13:12 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <kpcgg2$ouc$1@dont-email.me> (permalink) |
Ruby:
[[:bar, 99], [:foo, 22], [:mop, 55]].sort_by{|x| x.last}
==>[[:foo, 22], [:mop, 55], [:bar, 99]]
How would this be done in ANS Forth?
Back to comp.lang.forth | Previous | Next — Next in thread | Find similar
sort_by "WJ" <w_a_x_man@yahoo.com> - 2013-06-13 13:12 +0000
Re: sort_by "WJ" <w_a_x_man@yahoo.com> - 2013-06-14 03:06 +0000
Re: sort_by Hugh Aguilar <hughaguilar96@yahoo.com> - 2013-06-13 20:52 -0700
csiph-web