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

di-monad: Add a MonadDi' with fully polymorphic support for localDiT? #27

Open
k0001 opened this issue May 7, 2018 · 0 comments
Open

Comments

@k0001
Copy link
Owner

k0001 commented May 7, 2018

Not sure if this is possible from a practical point of view. Maybe something like this?

class (MonadDi level' path' msg' m', MonadDi level path msg m)
   => MonadDi level' level path' path msg' msg m' m 
      | m -> level path msg
      , m' -> level' path' msg
      , m level' path' msg' -> m'
      , m' level path msg -> m
   where
   local' = ... the type of localDiT ...

Just saying. I'm not sure this even is a good idea.

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