diff options
Diffstat (limited to 'compiler/utils/Bag.hs')
-rw-r--r-- | compiler/utils/Bag.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/utils/Bag.hs b/compiler/utils/Bag.hs index 09fddccde1..f2b1ead4d8 100644 --- a/compiler/utils/Bag.hs +++ b/compiler/utils/Bag.hs @@ -6,7 +6,7 @@ Bag: an unordered collection with duplicates -} -{-# LANGUAGE DeriveDataTypeable, ScopedTypeVariables, CPP #-} +{-# LANGUAGE ScopedTypeVariables, CPP #-} module Bag ( Bag, -- abstract type @@ -41,7 +41,6 @@ data Bag a | UnitBag a | TwoBags (Bag a) (Bag a) -- INVARIANT: neither branch is empty | ListBag [a] -- INVARIANT: the list is non-empty - deriving Typeable emptyBag :: Bag a emptyBag = EmptyBag |