defproc triple (chan?(int) L; chan!(int) R) { int x; chp { *[ L?x; R!(x*3) ] } }