[#47383] [ruby-trunk - Feature #8469][Open] ABI checker とか導入しませんか — "kosaki (Motohiro KOSAKI)" <kosaki.motohiro@...>

21 messages 2013/06/01
[#47394] [ruby-trunk - Feature #8469] ABI checker とか導入しませんか — "usa (Usaku NAKAMURA)" <usa@...> 2013/06/04

[#47395] Re: [ruby-trunk - Feature #8469] ABI checker とか導入しませんか — KOSAKI Motohiro <kosaki.motohiro@...> 2013/06/04

> CIに組み込んでもらえるとちょー助かる感じですぅ

[#47396] Re: [ruby-trunk - Feature #8469] ABI checker とか導入しませんか — Tanaka Akira <akr@...> 2013/06/04

2013年6月4日 14:23 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:

[#47397] Re: [ruby-trunk - Feature #8469] ABI checker とか導入しませんか — KOSAKI Motohiro <kosaki.motohiro@...> 2013/06/04

>> CI って誰に相談すればいいんですかね。今のツールだと比較対象のバイナリまたは

[#47399] Re: [ruby-trunk - Feature #8469] ABI checker とか導入しませんか — Tanaka Akira <akr@...> 2013/06/05

2013年6月4日 15:26 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:

[#47402] Re: [ruby-trunk - Feature #8469] ABI checker とか導入しませんか — KOSAKI Motohiro <kosaki.motohiro@...> 2013/06/05

>>> 比較対象を用意しないといけないのが面倒くさそうでほったらかしてたんですが。

[#47422] [ruby-trunk - Feature #8526][Open] Removing tk from Ruby repository — "naruse (Yui NARUSE)" <naruse@...>

26 messages 2013/06/14

[ruby-dev:47392] [ruby-trunk - Bug #7877] E::Lazy#with_index should be lazy

From: "zzak (Zachary Scott)" <zachary@...>
Date: 2013-06-02 07:31:35 UTC
List: ruby-dev #47392
Issue #7877 has been updated by zzak (Zachary Scott).

Tracker changed from Feature to Bug
Subject changed from E::Lazy#with_index needed to E::Lazy#with_index should be lazy
Target version changed from next minor to current: 2.1.0
ruby -v set to 2.1.0-dev
Backport set to 2.0.0: UNKNOWN


----------------------------------------
Bug #7877: E::Lazy#with_index should be lazy
https://bugs.ruby-lang.org/issues/7877#change-39637

Author: shyouhei (Shyouhei Urabe)
Status: Assigned
Priority: Normal
Assignee: yhara (Yutaka HARA)
Category: core
Target version: current: 2.1.0
ruby -v: 2.1.0-dev
Backport: 2.0.0: UNKNOWN


=begin
So I wanted some real benefit of being lazy.  I wrote a Leibniz formula:

  def leibniz(n)
    (0..Float::INFINITY).lazy.with_index {|i, j| (-1 ** j) / (2*i+1).to_f }.take(n).reduce(:+)
  end

But it doesn't work (well, it does, indeed. It just doesn't stop working).  I got frustrated.
How about it?  Don't you feel it nifty?

Of course I can wait for the release next to 2.0.0.
=end


-- 
http://bugs.ruby-lang.org/

In This Thread

Prev Next