Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
(>->) :: Monad m => (a -> m b) -> m c -> a -> m c infixl 5 Source #
Like L->R Kleisli composition, but ignores result of the first operation.
panic :: Text -> IO a -- panic msg = putTextLn msg >>= const exitFailure panic = putTextLn >-> exitFailure