Hi pipes people; I really don't know too much about pipes, but an entire section in a project tutorial I am writing is going to be dedicated to hooking up all of the pipes plumbing together. Seeing as this might also be possibly used as a pipes tutorial, I just wanted to make sure that my pipes code is idiomatic/not awful/not going to set back your progress by generations. Does anyone mind maybe giving it a quick look over? :) I would really appreciate it, and credit will be given where deserved :) I hope it is not too imposing for me to ask!
It's actually a pair of programs --- a Huffman compression encoder and decoder. The encoder: https://github.com/mstksg/inCode/blob/master/code-samples/huffman/encode.hs The decoer: https://github.com/mstksg/inCode/blob/master/code-samples/huffman/decode.hs I tried my best to abstract away the actual mechanisms of the huffman logic where I could; it does peak in at some times, but the comments should give you a general high-level idea of what each function is trying to do. For reference, the series itself explaining the logic is hosted at http://blog.jle.im/entries/series/+huffman-compression I am pretty sure that the code gives away my unfamiliarity :) Thank you all! Justin -- You received this message because you are subscribed to the Google Groups "Haskell Pipes" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
