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

Safe HaskellSafe
LanguageHaskell2010

System.IO.StringLike.PutStrLn

Synopsis

Documentation

type CanPutStrLn t = CanPutStrLnClass IO Handle t Source #

Effective type synonym for CanPutStrLnClass. See CanGetContents for more details.

class CanPutStrClass m handleT t => CanPutStrLnClass m handleT t where Source #

Methods

hPutStrLn :: handleT -> t -> m () Source #

Generalised hPutStrLn

hPutStrLn :: (CanProxyTo t, CanPutStrLnClass m handleT (CanProxyT t)) => handleT -> t -> m () Source #

Generalised hPutStrLn

putStrLn :: CanPutStrLn t => t -> IO () Source #