422c457b214cdf7360eed0814ca9929746f13a1f8b024cb2c506b8991c1672df

Download raw

Created: 2023-12-19 03:40:10.302489 UTC

Size: 932

Preview (limited to 512 bytes)

"{-# LANGUAGE CPP, ForeignFunctionInterface #-}\n#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702\n{-# LANGUAGE Trustworthy #-}\n#endif\n\nmodule Data.Hashable.RandomSource\n (\n getRandomBytes\n , getRandomBytes_\n ) where\n\nimport Data.ByteString as B\nimport Data.ByteString.Internal (create)\nimport Foreign.C.Error (throwErrnoIfMinus1_)\n#if MIN_VERSION_base(4,5,0)\nimport Foreign.C.Types (CInt(CInt))\n#else\nimport Foreign.C.Types (CInt)\n#endif\nimport Foreign.Ptr (Ptr)\n\ngetRandomBytes :: Int "


Casa is a service provided by the Haskell Foundation │ Originally developed by FP Complete