ohnosequences / stuff

Useful stuff.
GNU Affero General Public License v3.0
1 stars 0 forks source link

(co)Cartesian structures #54

Closed eparejatobes closed 6 years ago

eparejatobes commented 7 years ago
eparejatobes commented 7 years ago

@agarciamontoro same as in https://github.com/ohnosequences/stuff/pull/52#issuecomment-337520371

eparejatobes commented 7 years ago

I'm leaving this out of 0.4.0.

eparejatobes commented 7 years ago

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?
eparejatobes commented 6 years ago

There's already too much in here. I'm going to merge this and work on any deficiencies in separate PRs.