Copyright | (c) Colin Woodbury, 2015 |
---|---|
License | BSD3 |
Maintainer | Colin Woodbury <colingw@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
- newtype Substitution a = Substitution {
- _substitution :: a
- substitution :: forall a a. Lens (Substitution a) (Substitution a) a a
Documentation
newtype Substitution a Source
A Cipher whose key is a (pseudo)random mapping of characters to other characters. A character may map to itself.
Monad Substitution Source | |
Functor Substitution Source | |
Applicative Substitution Source | |
Eq a => Eq (Substitution a) Source | |
Show a => Show (Substitution a) Source | |
Cipher (Map Char Char) Substitution Source |
substitution :: forall a a. Lens (Substitution a) (Substitution a) a a Source