Skip to content
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

When having multiple 'fp-ts' libraries initialized - fp-ts-copntrib behaves in a weird way #82

Open
roman-zaiats opened this issue Jun 8, 2021 · 0 comments

Comments

@roman-zaiats
Copy link

🐛 Bug report

Current Behavior

I have a separate 'common' npm package that has 'fp-ts' dependency. I use that 'common' package in my main application, which has also a dependency to 'fp-ts' as long as dependency to 'fp-ts-contrib'.

The issue I have is that in this setup Do notation behaves in a weird way. I get some errors that do not make sense (The screenshot is attached).

image

image

Expected behavior

I would expect it to be working the same even if fp-ts is initialized in underneath dependencies themselves.

Reproducible example

Suggested solution(s)

Additional context

Your environment

Software Version(s)
fp-ts 2.10.5
fp-ts-contrib 0.1.26
TypeScript 4.2.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant