[commit: packages/primitive] ghc-head: Fix comment (33c7f80)

git at git.haskell.org git at git.haskell.org
Thu Sep 26 11:44:36 CEST 2013


Repository : ssh://git@git.haskell.org/primitive

On branch  : ghc-head
Link       : http://git.haskell.org/packages/primitive.git/commitdiff/33c7f80e7a7cd797cd02ca036f1c585bdba6e628

>---------------------------------------------------------------

commit 33c7f80e7a7cd797cd02ca036f1c585bdba6e628
Author: Roman Leshchinskiy <rl at cse.unsw.edu.au>
Date:   Thu Jan 26 14:35:46 2012 -0700

    Fix comment


>---------------------------------------------------------------

33c7f80e7a7cd797cd02ca036f1c585bdba6e628
 Control/Monad/Primitive.hs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Control/Monad/Primitive.hs b/Control/Monad/Primitive.hs
index 4761b3c..b16142c 100644
--- a/Control/Monad/Primitive.hs
+++ b/Control/Monad/Primitive.hs
@@ -75,7 +75,7 @@ unsafePrimToPrim :: (PrimMonad m1, PrimMonad m2) => m1 a -> m2 a
 unsafePrimToPrim m = primitive (unsafeCoerce# (internal m))
 
 -- | Convert any 'PrimMonad' to 'ST' with an arbitrary state token. This
--- operations is highly unsafe!
+-- operation is highly unsafe!
 unsafePrimToST :: PrimMonad m => m a -> ST s a
 unsafePrimToST = unsafePrimToPrim
 




More information about the ghc-commits mailing list