[commit: packages/binary] master: Add function 'label'. (ab88a9d)

git at git.haskell.org git at git.haskell.org
Sun Dec 14 17:54:22 UTC 2014


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

On branch  : master
Link       : http://git.haskell.org/packages/binary.git/commitdiff/ab88a9db0ca3eac9f3d32d094c01745fb710f776

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

commit ab88a9db0ca3eac9f3d32d094c01745fb710f776
Author: Lennart Kolmodin <kolmodin at gmail.com>
Date:   Thu Mar 20 22:11:39 2014 +0400

    Add function 'label'.
    
    'label :: String -> Get a -> Get a' adds the given string to
    the error message string if the given decoder fails.
    Fixes #16.


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

ab88a9db0ca3eac9f3d32d094c01745fb710f776
 src/Data/Binary/Get.hs          |  1 +
 src/Data/Binary/Get/Internal.hs | 13 ++++++++
 tests/Action.hs                 | 69 ++++++++++++++++++++++++++++++++++++-----
 tests/QC.hs                     |  5 ++-
 4 files changed, 77 insertions(+), 11 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc ab88a9db0ca3eac9f3d32d094c01745fb710f776


More information about the ghc-commits mailing list