On Wed, Jul 23, 2014 at 9:45 PM, 양철웅 <cwyang@aranetworks.com> wrote:
I changed the code like belows and it works.On a higher-level, you might want to reconsider the design of that function called parseHeader.
It has type: (a -> IO b) only because there's a special case "now" which apparently requires querying for the current time. Other than that, it's a pure function.Is there a way to make it a pure function?
-- Kim-Ee
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners