debug-tracy-0.1.0.2: More useful trace functions for investigating bugs
Debug.Tracy
Synopsis
module Debug.Trace
tracy :: Show a => String -> a -> a Source #
trace with show and a delimiter built in
keanu :: a -> a Source #
Spit out a random Keanu Reaves quote when a is evauluated
a
arnold :: a -> a Source #
spit out a random Arnold Schwarzenegger quote when a is evaluated
hasLength :: Foldable t => String -> t a -> t a Source #
Inspect the size of a collection
isFound :: Foldable t => String -> t a -> t a Source #
Inspect if t a is null
t a
spy :: Show b => String -> (a -> b) -> a -> a Source #
scope :: String -> f a -> Scope f a Source #
unScope :: Scope f a -> f a Source #
data Scope f a Source #
Instances
Methods
(>>=) :: Scope m a -> (a -> Scope m b) -> Scope m b #
(>>) :: Scope m a -> Scope m b -> Scope m b #
return :: a -> Scope m a #
fail :: String -> Scope m a #
fmap :: (a -> b) -> Scope f a -> Scope f b #
(<$) :: a -> Scope f b -> Scope f a #
pure :: a -> Scope f a #
(<*>) :: Scope f (a -> b) -> Scope f a -> Scope f b #
liftA2 :: (a -> b -> c) -> Scope f a -> Scope f b -> Scope f c #
(*>) :: Scope f a -> Scope f b -> Scope f b #
(<*) :: Scope f a -> Scope f b -> Scope f a #