I'm using the Data.Binary.Get monad to read data from a file in Haskell. How would I go about converting some Word32 grabbed from getWord32** into a [Char] or String?
I've tried breaking the Word32 into four octets and converting that way, but I'm having trouble getting the conversion working. How would I best convert a Word32 into a string (assuming four characters).
showwork ? You can see how it's instance is implemented inbase.