summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenFoppa <>2017-10-12 01:46:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2017-10-12 01:46:00 (GMT)
commitb1d2f8c2f0079257196a2f71c34301cf08f01c46 (patch)
treeb018d1f6e2aa9b974e327723324a131721984b71
parent54632b6d10342233a731fa2a84760c7dfc7cf3f8 (diff)
version 0.3.0.0HEAD0.3.0.0master
-rw-r--r--Data/OpenUnion/Internal.hs5
-rw-r--r--open-union.cabal4
2 files changed, 7 insertions, 2 deletions
diff --git a/Data/OpenUnion/Internal.hs b/Data/OpenUnion/Internal.hs
index 7c2e37c..499549d 100644
--- a/Data/OpenUnion/Internal.hs
+++ b/Data/OpenUnion/Internal.hs
@@ -1,4 +1,5 @@
-- | Exposed internals for Data.OpenUnion
+{-# LANGUAGE CPP #-}
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE EmptyDataDecls #-}
@@ -24,6 +25,10 @@ module Data.OpenUnion.Internal
import Control.Exception
import Data.Dynamic
import TypeFun.Data.List (SubList, Elem, Delete)
+#if MIN_VERSION_base(4,10,0)
+import Data.Proxy
+import Data.Typeable
+#endif
-- | The @Union@ type - the phantom parameter @s@ is a list of types
-- denoting what this @Union@ might contain.
diff --git a/open-union.cabal b/open-union.cabal
index 0e6d0c4..b6774b4 100644
--- a/open-union.cabal
+++ b/open-union.cabal
@@ -1,11 +1,11 @@
name: open-union
-version: 0.2.0.0
+version: 0.3.0.0
synopsis: Extensible, type-safe unions.
category: Data
license: MIT
license-file: LICENSE
author: Zeke Foppa
-homepage: https://github.com/bfopa/open-union
+homepage: https://github.com/bfops/open-union
maintainer: benjamin.foppa@gmail.com
build-type: Simple
cabal-version: >= 1.9.2