Move language pragmas inside haddocks
This commit is contained in:
parent
c76217f75d
commit
ec49ea659e
@ -1,9 +1,10 @@
|
|||||||
{-# LANGUAGE OverloadedStrings #-}
|
|
||||||
{-# LANGUAGE ScopedTypeVariables #-}
|
|
||||||
{-# LANGUAGE GADTs #-}
|
|
||||||
|
|
||||||
{- How to use @cryptonite@ with symmetric block ciphers
|
{- How to use @cryptonite@ with symmetric block ciphers
|
||||||
|
|
||||||
|
> {-# LANGUAGE OverloadedStrings #-}
|
||||||
|
> {-# LANGUAGE ScopedTypeVariables #-}
|
||||||
|
> {-# LANGUAGE GADTs #-}
|
||||||
|
>
|
||||||
> import Crypto.Cipher.AES (AES256)
|
> import Crypto.Cipher.AES (AES256)
|
||||||
> import Crypto.Cipher.Types (BlockCipher(..), Cipher(..), nullIV, KeySizeSpecifier(..))
|
> import Crypto.Cipher.Types (BlockCipher(..), Cipher(..), nullIV, KeySizeSpecifier(..))
|
||||||
> import Crypto.Error (CryptoFailable(..), CryptoError(..))
|
> import Crypto.Error (CryptoFailable(..), CryptoError(..))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user