Skip to content

Instantly share code, notes, and snippets.

@hvr

hvr/- Secret

Last active September 20, 2015 10:51
Show Gist options
  • Save hvr/afcd040783d980594883 to your computer and use it in GitHub Desktop.
Save hvr/afcd040783d980594883 to your computer and use it in GitHub Desktop.
$ rgrep -A5 '^import ' | grep '(.*Monad *(.*return.*)'
apache-md5-0.6.1.1/test/benchmark-main.hs:import Control.Monad (Monad((>>=), return), replicateM)
apache-md5-0.6.1.1/test/unit-tests-main.hs- ( Monad((>>=), return)
connection-pool-0.1.2.0/src/Data/ConnectionPool/Internal/ResourcePoolParams.hs:import Control.Monad (Monad(return))
coordinate-0.0.18/src/Data/Geo/Coordinate/Latitude.hs:import Control.Monad(Monad(return))
coordinate-0.0.18/src/Data/Geo/Coordinate/Longitude.hs:import Control.Monad(Monad(return))
coordinate-0.0.18/src/Data/Geo/Coordinate/Coordinate.hs:import Control.Monad(Monad(return))
endo-0.2.0.0/src/Data/Monoid/Endo/Fold.hs:import Control.Monad (Monad(return))
geodetic-0.1.4/src/Data/Geo/Geodetic/GreatCircle.hs--- >>> import Prelude(Functor(fmap), Monad(return), String)
geodetic-0.1.4/src/Data/Geo/Geodetic/Vincenty.hs--- >>> import Control.Monad(Monad(return))
happstack-authenticate-2.1.4/Happstack/Authenticate/Route.hs:import Prelude (($), (.), Bool(True), FilePath, fromIntegral, Functor(..), Integral(mod), IO, map, mapM, Monad(return), sequence_, unzip3)
isdicom-0.0.2/src/System/FilePath/Dicom.hs:import Control.Monad(Monad(return))
javav-0.1.1/src/Language/Java/Javav.hs:import Control.Monad(Monad(return))
lock-file-0.5.0.2/src/System/IO/LockFile.hs:import Control.Monad (Monad(return))
lock-file-0.5.0.2/src/System/IO/LockFile/Internal.hs:import Control.Monad (Monad((>>), (>>=), return), when)
lock-file-0.5.0.2/test/TestCase/System/IO/LockFile.hs:import Control.Monad (Monad((>>), (>>=), return))
multirec-alt-deriver-0.1.3/MonadRQ.hs:import Control.Monad.Reader(Monad(return, fail, (>>=)),
multirec-alt-deriver-0.1.3/Generics/MultiRec/TH/Alt.hs:import Control.Monad.Reader(Monad(return, fail, (>>)), Functor(..),
route-planning-0.0.3/src/Data/Geo/Route/Track.hs:import Control.Monad(Monad(return, (>>=)))
separated-0.1.0/src/Data/Separated/FlipSeparated.hs--- >>> import Control.Monad(Monad(return))
separated-0.1.0/src/Data/Separated/Separated.hs--- >>> import Control.Monad(Monad(return))
stream-fusion-0.1.2.5/Data/Stream.hs:import qualified GHC.Base as Monad (Monad(return))
stream-fusion-0.1.2.5/Data/Stream.hs:import qualified Prelude as Monad (Monad(return))
system-command-0.0.10/src/System/Command.hs:import Control.Monad(Monad(return), when, void, (>>))
system-command-0.0.10/src/System/Command/Monad.hs:import Control.Monad(Monad(return, (>>=)), MonadPlus(mplus, mzero), liftM)
tagged-exception-core-2.1.0.0/src/Control/Monad/TaggedException/Utilities.hs:import Control.Monad (Monad(return))
tagged-exception-core-2.1.0.0/src/Control/Monad/TaggedException/Internal/Throws.hs- ( Monad((>>), (>>=), fail, return)
tickle-0.0.4/src/Data/Tickle/RunGetResult.hs:import Control.Monad(Monad((>>=), return))
tickle-0.0.4/src/Data/Tickle/Get.hs:import Control.Monad(Monad((>>=), (>>), return), ap)
unbound-generics-0.1.2.1/src/Unbound/Generics/PermM.hs:import Prelude (Eq(..), Show(..), (.), ($), Monad(return), Ord(..), Maybe(..), otherwise, (&&), Bool(..), id, uncurry, Functor(..))
validation-0.5.1/src/Data/Validation.hs:import Control.Monad(Monad((>>=), return), liftM)
yi-0.12.0/src/library/Yi/Eval.hs- ( Monad((>>), (>>=), return), void, forever )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment