Created
March 28, 2017 23:57
-
-
Save ExpHP/16244a04abe9a3810b4172611aeeea29 to your computer and use it in GitHub Desktop.
turtle please
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 PackageImports #-} | |
| module Turtle.Please | |
| ( module Turtle | |
| , fold, foldIO | |
| ) where | |
| import qualified "turtle" Turtle as Turtle.Naughty | |
| import "turtle" Turtle hiding (fold, foldIO) | |
| fold :: (MonadIO io)=> Fold a b -> Shell a -> io b | |
| fold = flip Turtle.Naughty.fold | |
| foldIO :: (MonadIO io)=> FoldM IO a b -> Shell a -> io b | |
| foldIO = flip Turtle.Naughty.foldIO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment