-
Notifications
You must be signed in to change notification settings - Fork 19
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
Feature/tree shaking #29
Conversation
@IMax153 awesome, thanks!
mhhh I'm not sure we should export such an instance p.s.
AFAIK there's no need of this, |
No problem! I can remove and revert the implementation of
Gotcha, I wasn't sure but I suppose since we are rewriting the import paths on build this should be a non-issue. |
For now, I just internalized the |
About the breaking changes:
is this necessary? The following don't look like breaking changes:
However this is an actual breaking change:
I would revert and postpone any breaking change until fp-ts v3 comes out |
Apologies - no this is not necessary. As I mentioned in the other PR, I will be much more careful about changes that alter the API in the future. I reverted the changes to
Hmm - I suppose these changes are backwards compatible! I updated the To summarize the changes contained in this PR: 0.7.0
|
@IMax153 nice, thanks! One last thing: since now there's no breaking changes, the next release will be tagged as |
@IMax153 thanks, released 👍 |
This PR addresses several issues with tree shaking and fixes one potential bug with the
code-frame
module. In addition, the PR standardizes all modules to use a common format for exports (unless the export has overloaded signatures) with updated tags indicating thecategory
of the export.Let me know what you think!
Summary of changes:
fp-ts@2.7.0
(@IMax153)Functor
instanceApplicative
instanceMonad
instanceAlt
instanceAlternative
instancepipeable
fromParser
module (@IMax153)Semigroup
instance toParseError
(@IMax153)code-frame
(@IMax153)ParseError
andParseSuccess
modelsreadonly
inParseResult
(@IMax153)category
tags to module exports (@IMax153)Location
modelreadonly
incode-frame
(@IMax153)