Move language pragmas inside haddocks

This commit is contained in:
tdietert 2017-03-19 00:02:07 +00:00
parent c76217f75d
commit ec49ea659e

View File

@ -1,9 +1,10 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE GADTs #-}
{- How to use @cryptonite@ with symmetric block ciphers
> {-# LANGUAGE OverloadedStrings #-}
> {-# LANGUAGE ScopedTypeVariables #-}
> {-# LANGUAGE GADTs #-}
>
> import Crypto.Cipher.AES (AES256)
> import Crypto.Cipher.Types (BlockCipher(..), Cipher(..), nullIV, KeySizeSpecifier(..))
> import Crypto.Error (CryptoFailable(..), CryptoError(..))