Given two mfps, return an mfp that applies one followed by the other. Note that the arguments are in the opposite order from how function composition is usually written in mathematics.
(before: Self, after: Self)
| 102 | /// Note that the arguments are in the opposite order |
| 103 | /// from how function composition is usually written in mathematics. |
| 104 | pub fn compose(before: Self, after: Self) -> Self { |
| 105 | let (m, f, p) = after.into_map_filter_project(); |
| 106 | before.map(m).filter(f).project(p) |
| 107 | } |
| 108 | |
| 109 | /// True if the operator describes the identity transformation. |
| 110 | pub fn is_identity(&self) -> bool { |
nothing calls this directly
no test coverage detected