add internal proxy type to create witnesses

This commit is contained in:
Vincent Hanquez 2016-12-02 15:00:05 +00:00
parent 11e42a256d
commit 955f010bff
2 changed files with 14 additions and 0 deletions

13
Crypto/Internal/Proxy.hs Normal file
View File

@ -0,0 +1,13 @@
-- |
-- Module : Crypto.Internal.Proxy
-- License : BSD-style
-- Maintainer : Vincent Hanquez <vincent@snarc.org>
-- Stability : experimental
-- Portability : Good
--
module Crypto.Internal.Proxy
( Proxy(..)
) where
-- | A type witness for 'a' as phantom type
data Proxy a = Proxy

View File

@ -188,6 +188,7 @@ Library
Crypto.PubKey.ElGamal
Crypto.ECC.Simple.Types
Crypto.ECC.Simple.Prim
Crypto.Internal.Proxy
Crypto.Internal.ByteArray
Crypto.Internal.Compat
Crypto.Internal.CompatPrim