Closed eparejatobes closed 6 years ago
@agarciamontoro same as in https://github.com/ohnosequences/stuff/pull/52#issuecomment-337520371
I'm leaving this out of 0.4.0.
I want to have a convenient arity-free syntax for products and sums. Options:
// for the product-induced map
val z: X -> (A × B × C) =
f ^ g ^ h
// alternatives?
val u: (A + B + C) -> X =
f | g | h
// alternatives?
There's already too much in here. I'm going to merge this and work on any deficiencies in separate PRs.