Если я попытаюсь использовать следующую команду 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
Почему Hoogle возвращает функции с сигнатурой ByteString -> ByteString
и т. д., когда я указываю сигнатуру типа ByteString->[ByteString]
?