title: Convert Type with ByteString to Text?
body: <p>Using <a href="https://hackage.haskell.org/package/conduit-1.2.10" rel="nofollow noreferrer">conduit</a>, my private repo code fails to compile:</p>
  
  <pre><code>  Expected type: ConduitM
                     Text Void (Control.Monad.Trans.Resource.Internal.ResourceT IO) ()
      Actual type: ConduitM
                     ByteString
                     Void
                     (Control.Monad.Trans.Resource.Internal.ResourceT IO)
                     ()
  </code></pre>
  
  <p>How can I define a function?</p>
  
  <pre><code>type Helper a = ConduitM a Void (Control.Monad.Trans.Resource.Internal.ResourceT IO ()
  
  f :: Helper ByteString -&gt; Helper Text
  </code></pre>