[#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:19319] Re: ruby-1.8.0 / yield(nil)とyield()のちがい

From: Tanaka Akira <akr@...17n.org>
Date: 2003-01-09 02:48:54 UTC
List: ruby-dev #19319
In article <hvowulklo6k.fsf@flux.a02.aist.go.jp>,
  Tanaka Akira <akr@m17n.org> writes:

> いつか本当に許せなくなったら avalue を通すようにすればいいんじゃないで
> すかね。

ふたをあけてみたら勘違いをしていたことに気がつきました。

% ruby -e '*a = *[[1,2]]; p a'
[1, 2]
% ruby -e 'def f() yield *[[1,2]] end; f {|*x| p x}'
[1, 2]

avalue が通るわけではなく、普通の値または無指定という情報が通るんです
ね。

これが適切かどうかはなかなか迷うところですが、とりあえず即座に破綻しそ
うにはないので、しばらくこれでいくのもいいんじゃないかな、と思っていま
す。
-- 
[田中 哲][たなか あきら][Tanaka Akira]

In This Thread

Prev Next