[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36
John Goerzen
jgoerzen at complete.org
Fri Apr 23 15:22:40 UTC 2010
The following commit has been merged in the master branch:
commit 892b4b87b7f3690b2135b54b404ce5cbe52eb177
Author: John Goerzen <jgoerzen at complete.org>
Date: Fri Jan 11 22:13:45 2008 +0100
Modifications for compatibility with new Haddock
diff --git a/src/Data/Tuple/Utils.hs b/src/Data/Tuple/Utils.hs
index a25668d..e2ad0aa 100644
--- a/src/Data/Tuple/Utils.hs
+++ b/src/Data/Tuple/Utils.hs
@@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
{- |
Module : Data.Tuple.Utils
- Copyright : Copyright (C) 2004-2006 John Goerzen
+ Copyright : Copyright (C) 2004-2008 John Goerzen
License : GNU GPL, version 2 or above
Maintainer : John Goerzen <jgoerzen at complete.org>
@@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
This module provides various helpful utilities for dealing with lists.
-Written by Neil Mitchell, http://www.cs.york.ac.uk/~ndm/
+Written by Neil Mitchell, <http://www.cs.york.ac.uk/~ndm/>
-}
module Data.Tuple.Utils(
diff --git a/src/System/IO/Binary.hs b/src/System/IO/Binary.hs
index 559f3d8..e986110 100644
--- a/src/System/IO/Binary.hs
+++ b/src/System/IO/Binary.hs
@@ -119,18 +119,18 @@ instance BinaryConvertible Word8 where
peekArray bytesread ptr
--- **************************************************
--- Binary Files
--- **************************************************
+-- **************************************************
+-- Binary Files
+-- **************************************************
{- | As a wrapper around the standard function 'System.IO.hPutBuf',
this function takes a standard Haskell 'String' instead of the far less
-convenient 'Ptr a'. The entire contents of the string will be written
+convenient @Ptr a at . The entire contents of the string will be written
as a binary buffer using 'hPutBuf'. The length of the output will be
-the length of the passed String or list..
+the length of the passed String or list.
If it helps, you can thing of this function as being of type
- at Handle -> String -> IO ()@. -}
+ at Handle -> String -> IO ()@ -}
hPutBufStr :: (HVIO a, BinaryConvertible b) => a -> [b] -> IO ()
hPutBufStr f s = toBuf s (\cs -> vPutBuf f cs (length s))
--
haskell-testpack
More information about the Pkg-haskell-commits
mailing list