packages feed

MicroHs-0.17.4.0 / ghc / System / IO / MD5.hs

-- Copyright 2023 Lennart Augustsson-- See LICENSE file for full license.module System.IO.MD5(MD5CheckSum, md5File, md5Handle) whereimport Control.DeepSeqimport System.IOnewtype MD5CheckSum = MD5 [Word]  -- actually returns 16 bytes  deriving (Eq, Show)instance NFData MD5CheckSum where  rnf (MD5 ws) = rnf wsmd5File :: FilePath -> IO (Maybe MD5CheckSum)md5File _ = return (Just $ MD5 [])          -- dummy MD5md5Handle :: Handle -> IO MD5CheckSummd5Handle _ = return $ MD5 []          -- dummy MD5