Changeset 5291 for src/Pugs/Internals.hs

Show
Ignore:
Timestamp:
07/07/05 21:40:41 (4 years ago)
Author:
gaal
svk:copy_cache_prev:
7304
Message:

* WIP: new [internals] builtins: IO::tell, Pugs::Internals::hIsOpen,

Pugs::Internals::hIsClosed, Pugs::Internals::hIsReadable,
Pugs::Internals::hIsWritable, Pugs::Internals::hIsSeekable.

For some reason, most of these lie (eg, hIsReadable retrurns true on :r
files) so this needs some investigation still.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Internals.hs

    r5281 r5291  
    9191    Handle, stdin, stdout, hClose, hGetLine, hGetChar, hGetContents, 
    9292    openFile, hSetBinaryMode, hPutStr, hPutStrLn, IOMode(..), stderr, SeekMode(..), 
    93     hSetBuffering, BufferMode(..), hIsTerminalDevice, hFlush, hPrint, isEOF, hSeek 
     93    hSetBuffering, BufferMode(..), hIsTerminalDevice, hFlush, hPrint, isEOF, 
     94    hSeek, hTell, hIsOpen, hIsClosed, hIsReadable, hIsWritable, hIsSeekable, 
    9495    ) 
    9596import System.IO.Unsafe