Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/Binary/GetAt.hs
module NHC.Binary ( getAt ) where import CBinary import SeekBin import BinHandle import Bin getAt :: Binary a => BinHandle -> Bin a -> IO a getAt f p = seekBin f p >> get f