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

Use IO in all the base Array functions instead of lifting it to MonadIO m => m #2939

Open
adithyaov opened this issue Jan 27, 2025 · 1 comment
Milestone

Comments

@adithyaov
Copy link
Member

No description provided.

@adithyaov adithyaov added this to the 0.12.0 milestone Jan 27, 2025
@harendra-kumar
Copy link
Member

If you do that then operations involving Stream m will have to be unlifted to IO or we can use only IO streams. For example:

fromStreamN :: forall m a. (MonadIO m, Unbox a)
    => Int -> D.Stream m a -> m (MutArray a)

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

2 participants