typelift / Aquifer

Functional streaming abstractions in Swift
72 stars 6 forks source link

[WIP] Remove Dependence on Swiftz #21

Closed CodaFi closed 8 years ago

CodaFi commented 8 years ago

Kinda sorta fixes #8 and assuages our fears about some duplications.

CodaFi commented 8 years ago

OK, the last thing left is Either. It wouldn't be hard to ship our own and completely break dependence on Swiftz - call it Vee or Disjunct or Sum or even Or.

CodaFi commented 8 years ago

We also lose a couple of Monoid things in Basic, but those can mostly be recovered through IntegerType constraints

pthariensflame commented 8 years ago

Sorry for being unreachable for a while! My long-planned upgrade to Focus also needs an Either, but doesn't really depend on Swiftx for anything else. Should we maybe consider making a microframework just containing a minimal Either type?

CodaFi commented 8 years ago

I wish the STL would just export an Either :(

pthariensflame commented 8 years ago

Me too. There must be at least a few dozen radars about it now, right?

CodaFi commented 8 years ago

In light of recent events, I'm abandoning this effort. Hopefully @exported stabilizes or Swift gets an Either.