-
| A newbie question. How to handle generic effect like here: This does not compile with a message: Could not deduce (MyEff a0 :> es) arising from a use of ‘send’ | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            arybczak
          
      
      
        Apr 1, 2023 
      
    
    Replies: 1 comment 3 replies
-
| I believe this is what effectful-plugin is for | 
Beta Was this translation helpful? Give feedback.
                  
                    3 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Yes, this works:
Plugin doesn't really help if there is no type annotation on
interposein this case for some reason,not sure exactly why.EDIT: It doesn't help because the plugin disambiguates type variables of a particular effect, not effects themselves.