Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class PotatoShow a where Source #
potatoShow :: a -> Text Source #
Instances
PotatoShow LayersState Source # | |
Defined in Potato.Flow.Controller.OwlLayers potatoShow :: LayersState -> Text Source # | |
PotatoShow OwlItemMeta Source # | |
Defined in Potato.Flow.Owl potatoShow :: OwlItemMeta -> Text Source # | |
PotatoShow OwlTree Source # | |
Defined in Potato.Flow.Owl potatoShow :: OwlTree -> Text Source # | |
PotatoShow SuperOwl Source # | |
Defined in Potato.Flow.Owl potatoShow :: SuperOwl -> Text Source # | |
PotatoShow SuperOwlParliament Source # | |
Defined in Potato.Flow.Owl potatoShow :: SuperOwlParliament -> Text Source # | |
PotatoShow OwlItem Source # | |
Defined in Potato.Flow.OwlItem potatoShow :: OwlItem -> Text Source # | |
PotatoShow OwlPFState Source # | |
Defined in Potato.Flow.OwlState potatoShow :: OwlPFState -> Text Source # |
assertShowAndDump :: (HasCallStack, Show a) => a -> Bool -> b -> b Source #
assertPotatoShowAndDump :: (HasCallStack, PotatoShow a) => a -> Bool -> b -> b Source #
traceShowIdWithLabel :: Show a => String -> a -> a Source #
class MonadPotatoLogger m where Source #
potatoLog :: PotatoLoggerLevel -> PotatoLoggerComponent -> Text -> m () Source #
Instances
MonadPotatoLogger PotatoLogger Source # | |
Defined in Potato.Flow.DebugHelpers potatoLog :: PotatoLoggerLevel -> PotatoLoggerComponent -> Text -> PotatoLogger () Source # |
data PotatoLoggerObject Source #
Instances
MonadPotatoLogger PotatoLogger Source # | |
Defined in Potato.Flow.DebugHelpers potatoLog :: PotatoLoggerLevel -> PotatoLoggerComponent -> Text -> PotatoLogger () Source # |
type PotatoLogger = Writer [PotatoLoggerObject] Source #
debugBangBang :: HasCallStack => [a] -> Int -> a Source #