각 함수만 따로 type-safe여도 R과 다음 함수의 입력이 연결되지 않으면 pipeline은 성립하지 않습니다.
T
Function<T,R>
R
Function<R,U>
U
핵심: andThen·compose의 방향을 타입 화살표로 먼저 읽습니다.