stdcxx-0.7.0.0: Binding to Standard Template Library C++
Safe HaskellSafe-Inferred
LanguageHaskell2010

STD.Ostream.Cast

Orphan instances

Castable Ostream (Ptr RawOstream) Source # 
Instance details

Methods

cast :: Ostream -> (Ptr RawOstream -> IO r) -> IO r #

uncast :: Ptr RawOstream -> (Ostream -> IO r) -> IO r #

(IOstream a, FPtr a) => Castable a (Ptr RawOstream) Source # 
Instance details

Methods

cast :: a -> (Ptr RawOstream -> IO r) -> IO r #

uncast :: Ptr RawOstream -> (a -> IO r) -> IO r #