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

Make ClSF a newtype #268

Open
turion opened this issue Dec 25, 2023 · 0 comments
Open

Make ClSF a newtype #268

turion opened this issue Dec 25, 2023 · 0 comments

Comments

@turion
Copy link
Owner

turion commented Dec 25, 2023

The error messages would be better. Currently the messages for typed holes are:

    • Found hole:
        _ :: MSF
               (transformers-0.5.6.2:Control.Monad.Trans.Reader.ReaderT
                  (TimeInfo EverySecond) IO)
               Int
               String

With a newtype, they could be:

    • Found hole:
        _ :: ClSF IO EverySecond Int String

The downside is that a lot of re-exports would have to be done then, and some docs would be invalidated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant