gcanti / flow-static-land

[DEPRECATED, please check out fp-ts] Implementation of common algebraic types in JavaScript + Flow
MIT License
408 stars 22 forks source link

functor fixpoint #61

Closed josephjunker closed 7 years ago

josephjunker commented 7 years ago

I wrote this for this project, but I thought it might make more sense in flow-static-land. Do you think it would be worth adding here?

gcanti commented 7 years ago

Hi @JosephJNK, interesting library!

Since it contains more than this Fix definition, maybe I could just add a link to your library in the README

josephjunker commented 7 years ago

Thanks! A link to the library would be awesome, but I just linked it to show this implementation of Fix in action. I meant that since Fix lives in Data.Functor In Haskell, I think it would make sense for static-land-recursion-schemes and any consumers of it to import Fix from flow-static-land, rather than keeping Fix in static-land-recursion-schemes. At the same time, I don't know of any uses of Fix other than recursion schemes, so I would understand if it was too specialized to belong in flow-static-land.

gcanti commented 7 years ago

I don't know of any uses of Fix other than recursion schemes

Neither do I. Just added a link to your lib

josephjunker commented 7 years ago

Great, thanks. I'll close this then.