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: [email protected]
> To: [email protected]
> CC: [email protected]
> 
> 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 <[email protected]> wrote:
> > ByteString -> [GHC.Word.Word8]
                                          
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to