This file contains hidden or 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
{-# LANGUAGE RankNTypes, ScopedTypeVariables, NoMonomorphismRestriction, | |
TupleSections #-} | |
-- | A couple arrow-like functions for enumeratees. Consider this example: | |
-- | |
-- Suppose you have the following | |
-- | |
-- 1. Consumer :: Iteratee [(Int,Char)] m a | |
-- 2. Mapper :: Enumeratee Int Char m a | |
-- 3. Source :: Enumerator Int m a |