Yukihiro "Matz" Matsumoto

Results 25 comments of Yukihiro "Matz" Matsumoto

What I thought was: ``` spawn("ls") | stdout # can be a producer stream | spawn("grep foo") | stdout # and also be a filter stream | spawn("cat > /tmp/a")...

I am not sure what you want (yet). For your information, you can ``` [1,2,3] | {x->[x,x*x,x*xz*x]|stdout} ``` Actually, I found a bug so this program does not work yet....

OK, I haven't made detailed document. Any input is welcome. In Streem, `a | b` connects two streams `a` and `b`, and when you connect `a` multiple times as left...

Perhaps, something like ``` a | switch_by_tag(:a,proc1,:b,proc2,:any,proc3) ``` would meet your idea, wouldn't be?

we welcome pull requests to fix those rough edges.

I added some examples in 2dce6a4. More to come.

@nicolasmccurdy it should be a list. I'd like to reserve `|` for bitwise or.

@Krysl `s` is a connection to a client. `broadcast | s` means data from `broadcast` will be sent to the client, and `s | broadcast` means data from the client...

@nicolasmccurdy I might confused you. I meant I wanted to reserve `|` (for scalar values, e.g. numbers and strings) for bitwise-or operation.