[commit: packages/binary] master: Add function 'isolate'. (1279d92)

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


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

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

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

commit 1279d9202dde6ab7ad51d24f8f09f23a1be9abf9
Author: Lennart Kolmodin <kolmodin at gmail.com>
Date:   Mon Apr 14 23:10:53 2014 +0400

    Add function 'isolate'.
    
    isolate :: Int -> Get a -> Get a
    Isolates a decoder to a fixed number of bytes.


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

1279d9202dde6ab7ad51d24f8f09f23a1be9abf9
 src/Data/Binary/Get/Internal.hs |  51 ++++---
 tests/Action.hs                 | 323 ++++++++++++++++++++++------------------
 2 files changed, 214 insertions(+), 160 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 1279d9202dde6ab7ad51d24f8f09f23a1be9abf9


More information about the ghc-commits mailing list