I\'m attempting to use HSlogger to get some information about my program. So I add the following line to my function
import Data.Word
import qualified Data.Byte
Shameless plug: I'm the author of the co-log
logging library. You can find the code of the library and tutorials on GitHub:
The details of the library usage and implementation are described in the following blog post:
Don't be afraid of a scary name, the library is actually much simpler than it sounds :) The main idea behind co-log
is to treat logging actions as simple Haskell functions. Since functions are first-class citizens in Haskell and it is extremely easy to work with them.