Skip to content

Commit

Permalink
Restore DatatypeContexts directive pending fix for acid-state/safecop…
Browse files Browse the repository at this point in the history
  • Loading branch information
ddssff committed Jun 24, 2015
1 parent 9396afc commit dd3f69a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Scaffolding/Comment/Acid.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE DeriveDataTypeable, FlexibleContexts, FlexibleInstances, FunctionalDependencies, MultiParamTypeClasses,
PackageImports, RankNTypes, TemplateHaskell, TypeFamilies, TypeOperators, TypeSynonymInstances, UndecidableInstances #-}
-- This is needed by deriveSafeCopy
{-# LANGUAGE DatatypeContexts #-}
{-# OPTIONS -Wall -Wwarn -fno-warn-orphans #-}
module Scaffolding.Comment.Acid
( State(..)
Expand Down Expand Up @@ -55,7 +56,7 @@ instance (Data topic, Ord topic) => Indexable (CommentList topic) where

type Comments topic = IxSet (CommentList topic)

data {-(SafeCopy topic, Data topic, Ord topic, Typeable topic) =>-} State topic =
data (Data topic, Ord topic) => State topic =
State { commentLists :: Comments topic
, nextCommentId :: CommentId
} deriving (Data, Eq, Ord, Show, Typeable)
Expand Down

0 comments on commit dd3f69a

Please sign in to comment.