Pipe自体のコードの行数も少ないのでざっと眺めて見たところ以下のような感じだった。 Pipeの肝はPipeデコレータ。 __ror__を定義することで"|"の意味変えている。*1 すべての関数にPipeデコレータを付ける。 とかしているよう。Pipeデコレータの定義は以下のとおり。 class Pipe: """ Represent a Pipeable Element : Described as : first = Pipe(lambda iterable: next(iter(iterable))) and used as : print [1, 2, 3] | first printing 1 Or represent a Pipeable Function : It's a function returning a Pipe Described as : select = Pi