[#19261] lstripped here-document (Re: comments and continuing strings on the next line) — nobu.nakada@...

なかだです。

29 messages 2003/01/01
[#19360] Re: lstripped here-document (Re: comments and continuing strings on the next line) — "K.Kosako" <kosako@...> 2003/01/15

nobu.nakada@nifty.ne.jpさんの

[#19361] Re: lstripped here-document (Re: comments and continuing strings on the next line) — "NAKAMURA, Hiroshi" <nakahiro@...> 2003/01/15

なひです。

[#19364] Re: lstripped here-document (Re: comments and continuing strings on the next line) — nobu.nakada@... 2003/01/17

なかだです。

[#19366] Re: lstripped here-document (Re: comments and continuing strings on the next line) — "NAKAMURA, Hiroshi" <nakahiro@...> 2003/01/17

なひです。

[#19299] [BUG] errno == 0 — Kazuhiro Yoshida <moriq@...>

もりきゅうです。win32だけかもしれません。

22 messages 2003/01/04
[#19301] Re: [BUG] errno == 0 — "U.Nakamura" <usa@...> 2003/01/04

こんにちは、なかむら(う)です。

[#19302] Re: [BUG] errno == 0 — "U.Nakamura" <usa@...> 2003/01/04

こんにちは、なかむら(う)です。

[#19303] Re: [BUG] errno == 0 — "U.Nakamura" <usa@...> 2003/01/04

こんにちは、なかむら(う)です。

[#19304] Re: [BUG] errno == 0 — "U.Nakamura" <usa@...> 2003/01/04

こんにちは、なかむら(う)です。

[#19306] Re: [BUG] errno == 0 — nobu.nakada@... 2003/01/05

なかだです。

[ruby-dev:19263] Re: lstripped here-document (Re: comments and continuing strings on the next line)

From: matz@... (Yukihiro Matsumoto)
Date: 2003-01-01 01:03:43 UTC
List: ruby-dev #19263
まつもと ゆきひろです

In message "[ruby-dev:19261] lstripped here-document (Re: comments and continuing strings on the next line)"
    on 03/01/01, nobu.nakada@nifty.ne.jp <nobu.nakada@nifty.ne.jp> writes:

|しばらく前のruby-coreの話ですが、こういうのはどうでしょうか。
|
|    p <<-|EOS
|      |  foo
|      |    bar
|    EOS
|    # => "  foo\n    bar\n"
|
|つまり、<<-とterminatorの間にクォーテーション以外の記号があった場合、
|行頭の空白とその記号までを削除します。その記号がなければエラーです。

実装があるのは魅力的なのですが、記法の追加に関しては慎重であ
るべきという観点から、急ぐべきではないでしょう。いろいろな人
の意見を聴きたいです。来週のruby-dev summaryからのruby-talk
の人々の反応も見てみたいものですね。

In This Thread