Skip to content

Commit

Permalink
Fix compilation error on GHC < 7.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
kolmodin committed May 30, 2015
1 parent 6c9c47f commit c2d8fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Binary/Get/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ withInputChunks initS consume onSucc onFail = go initS []
Left state' -> do
let acc' = inp : acc
prompt'
(runCont (onFail (reverse acc')) mempty ks)
(runCont (onFail (reverse acc')) B.empty ks)
(\str' -> runCont (go state' acc') str' ks)
Right (want,rest) -> do
ks rest (onSucc (reverse (want:acc)))
Expand Down

0 comments on commit c2d8fe2

Please sign in to comment.