416件ヒット
[401-416件を表示]
(0.069秒)
ライブラリ
- ビルトイン (380)
-
rinda
/ rinda (12) -
rinda
/ tuplespace (24)
クラス
- Array (36)
-
Enumerator
:: Lazy (296) -
Rinda
:: TupleSpace (24) -
Rinda
:: TupleSpaceProxy (12)
モジュール
- Enumerable (48)
キーワード
- chunk (24)
- collect (12)
- drop (12)
-
drop
_ while (12) - filter (7)
-
filter
_ map (6) -
find
_ all (12) - force (12)
- grep (12)
-
grep
_ v (10) - lazy (12)
- map (12)
- notify (12)
- reject (12)
- select (12)
-
slice
_ after (22) -
slice
_ before (36) -
slice
_ when (11) -
take
_ while (72) -
with
_ index (12) - zip (24)
検索結果
先頭2件
-
Enumerator
:: Lazy # zip(*lists) -> Enumerator :: Lazy (7.0) -
Enumerable#zip と同じですが、配列ではなくEnumerator::Lazy を返します。
...uby]{
1.step.lazy.zip(('a'..'z').cycle)
# => #<Enumerator::Lazy: #<Enumerator::Lazy: #<Enumerator: 1:step>>:zip(#<Enumerator: "a".."z":cycle>)>
1.step.lazy.zip(('a'..'z').cycle).take(30).force.last(6)
# => [[25, "y"], [26, "z"], [27, "a"], [28, "b"], [29, "c"], [30, "d"]]
//}
@see Enumerable#zip... -
Enumerator
:: Lazy # zip(*lists) {|v1 , v2 , . . . | . . . } -> nil (7.0) -
Enumerable#zip と同じですが、配列ではなくEnumerator::Lazy を返します。
...uby]{
1.step.lazy.zip(('a'..'z').cycle)
# => #<Enumerator::Lazy: #<Enumerator::Lazy: #<Enumerator: 1:step>>:zip(#<Enumerator: "a".."z":cycle>)>
1.step.lazy.zip(('a'..'z').cycle).take(30).force.last(6)
# => [[25, "y"], [26, "z"], [27, "a"], [28, "b"], [29, "c"], [30, "d"]]
//}
@see Enumerable#zip...