tailfile-hinotify-2.0.0.0: Tail files in Unix, using hinotify.

Safe HaskellNone
LanguageHaskell2010

System.IO.TailFile.Pipes

Description

Tail files in Unix, using types from the pipes package.

Synopsis

Documentation

tailFile Source #

Arguments

:: FilePath 
-> (forall t r. (MonadTrans t, MonadIO (t IO)) => Producer ByteString (t IO) r -> t IO (void, r))

Scary type, but any resonably polymorphic (say, over MonadIO) function that consumes a Producer can go here.

-> IO void 

Tail a file with a function that consumes a Producer.