Pipe operator and function based on intuitive syntax