Created
May 28, 2014 05:55
-
-
Save mwotton/6f85ec38bff4ae2ac53b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dunno :: Row -> Enumerator Builder IO a | |
dunno r = \step -> case step of | |
Continue s -> s $ Chunks [fromLazyByteString $ encode r] | |
Yield a b -> Iteratee . return . Yield a $ b | |
Error s -> error (show s) | |
-- app worker = do |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment