Closed robrix closed 9 years ago
Conjunction of Optional<T> with the &&& operator, analogous with fanout over Haskell’s Arrows.
Optional<T>
&&&
Arrow
(x &&& y) // == (x, y), iff x and y are non-nil, nil otherwise
This operator is the subject of a blog post I wrote, with one minor adjustment: the version herein is short-circuiting, a la &&.
&&
Conjunction of
Optional<T>
with the&&&
operator, analogous with fanout over Haskell’sArrow
s.This operator is the subject of a blog post I wrote, with one minor adjustment: the version herein is short-circuiting, a la
&&
.