如果我尝试使用以下Hoogle命令(v4.2.33)搜索包含类型签名ByteString->[ByteString]
的函数:
hoogle --count 40 "ByteString->[ByteString]"
然后在输出结束时我得到:
Data.ByteString.Char8 transpose :: [ByteString] -> [ByteString]
Data.ByteString.Lazy transpose :: [ByteString] -> [ByteString]
Data.ByteString.Lazy.Char8 transpose :: [ByteString] -> [ByteString]
Codec.Compression.Zlib.Raw compress :: ByteString -> ByteString
Codec.Compression.GZip compress :: ByteString -> ByteString
当我将类型签名指定为ByteString -> ByteString
时,为什么Hoogle会返回带有签名ByteString->[ByteString]
等的函数?