bip39

BIP39 mnemonic codes in Haskell (docs.ppad.tech/bip39).
git clone git://git.ppad.tech/bip39.git
Log | Files | Refs | README | LICENSE

commit 71ac325ec9685900569dbe98644e2dda8272fb3b
parent 0a1bcd2b9ff96f5bc0e09c7b59ff1fafda8c8ac7
Author: Jared Tobin <jared@jtobin.io>
Date:   Thu, 27 Feb 2025 22:00:07 +0400

lib: don't prune haddocks

Diffstat:
Mlib/Crypto/KDF/BIP39.hs | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/lib/Crypto/KDF/BIP39.hs b/lib/Crypto/KDF/BIP39.hs @@ -1,4 +1,3 @@ -{-# OPTIONS_HADDOCK prune #-} {-# LANGUAGE BinaryLiterals #-} {-# LANGUAGE NumericUnderscores #-} {-# LANGUAGE OverloadedStrings #-} @@ -56,13 +55,13 @@ import qualified Data.Text.Encoding as TE import qualified Data.Text.ICU.Normalize2 as ICU import System.IO.Unsafe (unsafePerformIO) --- | A BIP39 wordlist. -newtype Wordlist = Wordlist (PA.Array T.Text) - fi :: (Integral a, Num b) => a -> b fi = fromIntegral {-# INLINE fi #-} +-- | A BIP39 wordlist. +newtype Wordlist = Wordlist (PA.Array T.Text) + -- | Generate a BIP39 mnemonic from some entropy, using the default English -- wordlist. --