-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(lib): Make haddock easier to read
- Loading branch information
1 parent
5890f8c
commit 1985ef0
Showing
6 changed files
with
46 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,53 @@ | ||
module Data.Gibberish | ||
( -- * Core types | ||
GenPasswordOpts (..), | ||
GenPassphraseOpts (..), | ||
Unigram (..), | ||
Digram (..), | ||
Trigram (..), | ||
Frequency (..), | ||
Frequencies (..), | ||
Trigraph (..), | ||
Word (..), | ||
|
||
-- * Password/phrase generation | ||
( -- * Generating Passwords | ||
genPassword, | ||
genPasswords, | ||
genPasswords', | ||
|
||
-- * Generating Passphrases | ||
genPassphrase, | ||
genPassphrase', | ||
|
||
-- * Trigraph generation | ||
Language (..), | ||
TrigraphConfig (..), | ||
genTrigraph, | ||
loadTrigraph, | ||
|
||
-- * Password/phrase generation monad | ||
-- * The Pass Monad | ||
Pass (), | ||
PassT (..), | ||
MonadRandom (..), | ||
runPass, | ||
evalPass, | ||
usingPass, | ||
|
||
-- * The PassT Monad Transformer | ||
PassT (..), | ||
runPassT, | ||
evalPassT, | ||
usingPassT, | ||
module Control.Monad.Random, | ||
|
||
-- * Error handling | ||
-- * Core Types | ||
GenPasswordOpts (..), | ||
GenPassphraseOpts (..), | ||
Language (..), | ||
TrigraphConfig (..), | ||
Trigraph (..), | ||
Word (..), | ||
Unigram (..), | ||
Digram (..), | ||
Trigram (..), | ||
Frequency (..), | ||
Frequencies (..), | ||
|
||
-- * Error Handling | ||
GibberishErr (..), | ||
isTrigraphNotFound, | ||
isImpossibleError, | ||
|
||
-- * Working with Trigraphs | ||
genTrigraph, | ||
loadTrigraph, | ||
) where | ||
|
||
import Data.Gibberish.Errors | ||
import Data.Gibberish.Gen | ||
import Data.Gibberish.Monad.Pass | ||
import Data.Gibberish.Types | ||
|
||
import Control.Monad.Random | ||
import Prelude hiding (Word ()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters