fantasyland / fantasy-land

Specification for interoperability of common algebraic structures in JavaScript
MIT License
10.08k stars 373 forks source link

First-Class Protocols #291

Open puffnfresh opened 6 years ago

puffnfresh commented 6 years ago

I'd love to see a version of Fantasy Land which takes advantage of @michaelficarra's First-Class Protocols proposal:

https://github.com/michaelficarra/proposal-first-class-protocols

davidchambers commented 6 years ago

Michael told me about this proposal last night. It seems to be a natural fit for Fantasy Land! Define chain, receive join, and so on. :)

gabejohnson commented 6 years ago

@puffnfresh see https://github.com/gabejohnson/fantasy-interfaces

It's based on an older version of the proposal.

puffnfresh commented 6 years ago

@gabejohnson I like it!! @michaelficarra what's up with the proposal? I think it's something perfect for Fantasy Land.

michaelficarra commented 6 years ago

@puffnfresh The proposal is making steady progress. The recently-solved instance coherence issue has unblocked it, and it should be ready for stage 2 advancement soon after those changes are integrated. For stage 2, I will have to convince the committee that this particular feature is the best way to solve the problems it claims to solve, especially in comparison to the competing "mixins" proposal.

SimonRichardson commented 5 years ago

@michaelficarra any news on this?