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. Iso (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 | |
Functor Substitution | |
Applicative Substitution | |
Eq a => Eq (Substitution a) | |
Show a => Show (Substitution a) | |
Cipher (Map Char Char) Substitution |
substitution :: forall a a. Iso (Substitution a) (Substitution a) a a Source