< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事
N :次の記事
|<:スレッドの先頭
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
Mathieu Bouchard wrote:
>>Florian Gro? wrote in [ruby-core:04027]:
>>>user-defined number literal suffixes.
> Here are practical ways to achieve similar results using only standard
> Ruby.
>
> First, Rational.reduce(a,b) has a shortcut as Rational(a,b) already.
> Then you could do:
>
> require "rational"
> require "complex"
>
> module Kernel
> alias Q Rational
> alias C Complex
> end
While this is a nice idea I don't feel sure about polluting the global
method space with one-character names. And I think it would not cause
many problems to make an yet unused syntax do something meaningful.
Still, it's a nice workaround for not having that support yet.