[commit: packages/bytestring] 0.10.4.x, master: Fix typos: rename funtion to function (d4798e9)

git at git.haskell.org git at git.haskell.org
Fri Jan 23 22:42:52 UTC 2015


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

On branches: 0.10.4.x,master
Link       : http://git.haskell.org/packages/bytestring.git/commitdiff/d4798e97e7190e6784f0d24d2405c29662af0163

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

commit d4798e97e7190e6784f0d24d2405c29662af0163
Author: Sean Leather <sean.leather at gmail.com>
Date:   Thu Oct 23 23:02:51 2014 +0200

    Fix typos: rename funtion to function


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

d4798e97e7190e6784f0d24d2405c29662af0163
 Data/ByteString/Unsafe.hs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Data/ByteString/Unsafe.hs b/Data/ByteString/Unsafe.hs
index 7c0d0fb..bf0ed88 100644
--- a/Data/ByteString/Unsafe.hs
+++ b/Data/ByteString/Unsafe.hs
@@ -224,7 +224,7 @@ unsafePackCString cstr = do
 -- collected by Haskell. This operation has /O(1)/ complexity as we
 -- already know the final size, so no /strlen(3)/ is required.
 --
--- This funtion is /unsafe/. If the original @CStringLen@ is later
+-- This function is /unsafe/. If the original @CStringLen@ is later
 -- modified, this change will be reflected in the resulting @ByteString@,
 -- breaking referential transparency.
 --
@@ -236,7 +236,7 @@ unsafePackCStringLen (ptr,len) = do
 -- | /O(n)/ Build a @ByteString@ from a malloced @CString at . This value will
 -- have a @free(3)@ finalizer associated to it.
 --
--- This funtion is /unsafe/. If the original @CString@ is later
+-- This function is /unsafe/. If the original @CString@ is later
 -- modified, this change will be reflected in the resulting @ByteString@,
 -- breaking referential transparency.
 --
@@ -253,7 +253,7 @@ unsafePackMallocCString cstr = do
 -- | /O(n)/ Build a @ByteString@ from a malloced @CStringLen at . This
 -- value will have a @free(3)@ finalizer associated to it.
 --
--- This funtion is /unsafe/. If the original @CString@ is later
+-- This function is /unsafe/. If the original @CString@ is later
 -- modified, this change will be reflected in the resulting @ByteString@,
 -- breaking referential transparency.
 --



More information about the ghc-commits mailing list