Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from davidar/master
Browse files Browse the repository at this point in the history
Fix compile errors
  • Loading branch information
lukehoersten committed Aug 17, 2015
2 parents 6aa8260 + 061ef82 commit 41a51de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions main/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import Crypto.Hash (Digest)
import qualified Crypto.Hash as CH
import Data.Byteable (toBytes)
import Data.ByteString (ByteString)
import Data.ByteString.Lazy (fromStrict, toStrict)
import Data.ByteString.Lazy (toStrict)
import Options.Applicative
import System.Exit (exitFailure, exitSuccess)

import System.IO.Streams (InputStream, stdin, stdout,
withFileAsInput, write)
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Multihash/Digest.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module Data.Multihash.Digest where


import Control.Applicative ((<$>))
import Data.Attoparsec.ByteString (Parser, parseOnly)
import qualified Data.Attoparsec.ByteString as A
import qualified Data.ByteString as BS
Expand All @@ -15,7 +16,7 @@ import Data.Word (Word8)
data MultihashDigest =
MultihashDigest
{ algorithm :: !HashAlgorithm
, lenght :: !Length
, length :: !Length
, digest :: !Digest
} deriving (Show, Eq)

Expand Down

0 comments on commit 41a51de

Please sign in to comment.