私 (Haskell の初心者) は、Web ページから受け取った ByteString に対してアンパック操作を実行しようとしています。基本的に、Webページからいくつかの単語を検索したいので、ストリームをトークン化し、単語から単語を検索しようとしています。
Prelude Network.HTTP.Conduit LB> LB.unpack (simpleHttp WebLink)
しかし、私はエラーを下回っています
<interactive>:75:12: error:
• Couldn't match expected type ‘LB.ByteString’
with actual type ‘m0 LB.ByteString’
• In the first argument of ‘LB.unpack’, namely...
ハックから、その署名が
unpack :: ByteString -> [Word8] Source
O(n) Converts a ByteString to a '[Word8]'.