packages feed

MicroHs-0.11.4.0: hugs/System/IO/Serialize.hs

-- Copyright 2024 Lennart Augustsson
-- See LICENSE file for full license.
module System.IO.Serialize(
{-
  hSerialize, hDeserialize,
  writeSerialized,
-}
  writeSerialized,
  writeSerializedCompressed,
  readSerialized,
  ) where
--import System.IO

{-
hSerialize   :: forall a . Handle -> a -> IO ()
hSerialize = errghc
hDeserialize :: forall a . Handle -> IO a
hDeserialize = errghc
writeSerialized :: forall a . FilePath -> a -> IO ()
writeSerialized = errghc
-}

writeSerializedCompressed :: FilePath -> a -> IO ()
writeSerializedCompressed = errghc

writeSerialized :: FilePath -> a -> IO ()
writeSerialized = errghc

readSerialized ::  FilePath -> IO a
readSerialized = errghc

errghc :: a
errghc = error "System.IO.Serialize: serialization not available with hugs"