io-string-like-0.1.0.1: Classes to handle Prelude style IO functions for different datatypes

Safe HaskellSafe
LanguageHaskell2010

System.IO.StringLike.GetContents

Synopsis

Documentation

type CanGetContents t = CanGetContentsClass IO Handle t Source #

Type synonym, for the common case of an ordinary Handle in the IO.

interact :: (CanGetContents t, CanPutStr t) => (t -> t) -> IO () Source #