Skip to content

Commit 541abd1

Browse files
committed
core: Base, wrap comment, trim whitespace
1 parent 6690f79 commit 541abd1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

hnix-store-core/src/System/Nix/Base.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ import qualified System.Nix.Base32 -- Nix has own Base32 encoding
1919
data BaseEncoding
2020
= NixBase32
2121
-- | ^ Nix has a special map of Base32 encoding
22-
-- Placed first, since it determines Haskell optimizations of pattern matches, & NixBase seems be the most widely used in Nix.
22+
-- Placed first, since it determines Haskell optimizations of pattern matches,
23+
-- & NixBase seems be the most widely used in Nix.
2324
| Base16
2425
| Base64
2526

@@ -37,7 +38,7 @@ encodeWith Base64 =
3738
decodeWith :: BaseEncoding -> Text -> Either String ByteString
3839
#if MIN_VERSION_base16_bytestring(1,0,0)
3940
decodeWith Base16 =
40-
Data.ByteString.Base16.decode
41+
Data.ByteString.Base16.decode
4142
. Data.Text.Encoding.encodeUtf8
4243
#else
4344
decodeWith Base16 = lDecode -- this tacit sugar simply makes GHC pleased with number of args

0 commit comments

Comments
 (0)