Commits

Aleksey Khudyakov  committed 5d21b38

Fix comments

  • Participants
  • Parent commits 4b876ac

Comments (0)

Files changed (1)

File System/Random/MWC.hs

     --
     -- * For integral types inclusive range is used.
     --
-    -- * For floating point numbers range (a,b] is used.
+    -- * For floating point numbers range (a,b] is used if one ignores
+    --   rounding errors.
     uniformR :: (PrimMonad m) => (a,a) -> Gen (PrimState m) -> m a
 
 instance Variate Int8 where
 -- Safe version of unsafeFreeze.
 -- NOTE: vector-0.7 will provide function `freeze' with same
 --       functionality. This function shall be removed when support for
---       vector<=0.6 is droppedA
+--       vector<=0.6 is dropped
 safeFreeze :: (PrimMonad m, Vector v a) => G.Mutable v (PrimState m) a -> m (v a)
 safeFreeze v = do
   v' <- GM.unsafeNew (GM.length v)