-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restructure arrow
and functor
package.
#1930
Comments
Please vote if you, like me, think it's mostly bikeshedding. But if you have stronger feeling to put down, please do, it will be helpful for sure. |
If you agree with my organizing principle for the infographic the outliers are pretty evident I think. |
looks like the decision can be made. I am moving this issue to "ready" |
working on a PR. |
|
@kailuowang Having |
I think adding it to data does make some sense, as we have mostly type classes in |
the part I am not sure about is if |
Well, I'd say it's as much a data type as Kleisli and cokleisli, no? I think we could put everything that's not a type class into data :D |
But yes, get rid of |
If I am not mistaken, Core depends on arrow, so circular intermodule dependency? I am okay with functionK going too data |
@kailuowang Ah, yeah – it looks like the syntax stuff depends on arrow. That should be pulled out too if arrow is a separate module. But then I guess we’d have It’d be good to rethink the relegation of implicit conversions to their own packages. SlamData did at least a couple experiments where we eliminated the wildcard imports, and it had no noticeable effect on compilation time. |
|
@kailuowang Thanks for the clear explanation. Yeah, I almost mentioned the newtype thing (which am also in favor of). |
@sellout , just realized that you are okay with the |
I think this can be closed now, right? :) |
arrow
to a separate module.Profunctor
andStrong
to this modulearrow
Bifunctor
,Invariant
andContravariant
tocore
The text was updated successfully, but these errors were encountered: