
The idea was to go from Prelude> :t Data.ByteString.readFile Data.ByteString.readFile :: FilePath -> IO Data.ByteString.Internal.ByteString to here Prelude> :t Codec.Binary.Base64.encode Codec.Binary.Base64.encode :: [GHC.Word.Word8] -> String unless there is another/easier way???? Roderick
Date: Wed, 29 Sep 2010 09:23:37 -0700 Subject: Re: [Haskell-cafe] can't find in hayoo From: thomas.dubuisson@gmail.com To: developer@live.com CC: haskell-cafe@haskell.org
By and large hayoo is the alta-vista of Haskell search - it has a huge database but isn't well organized or good at prioritizing. Use Hoogle when doing type-based searches for functions in the typical GHC load.
http://haskell.org/hoogle/?hoogle=%3A%3A+ByteString+-%3E+[Word8]
Also, what's with the non-standard module specification "GHC.Word.Word8"? You should use Data.Word.
Cheers, Thomas
On Wed, Sep 29, 2010 at 9:03 AM, Roderick Ford
wrote: ByteString -> [GHC.Word.Word8]