declare proc {ConcFilter L F ?L2} Send Close in {NewPortClose L2 Send Close} {Barrier {Map L fun {$ X} proc {$} if {F X} then {Send X} end end end}} {Close} end