on develop help sign in
Fix hlint
commit3bf26f78f33cab51cc4e375e6011994e14276640 authorRyan Trinkle <ryan.trinkle@gmail.com> dateMon 1 May 2017, 17:28 (9 years ago) parentde4861c
2 files changed+2−2
src/Reflex/Patch/DMapWithMove.hs+1−1 src/Reflex/Patch/MapWithMove.hs+1−1
src/Reflex/Patch/DMapWithMove.hs+1−1
@@ -37,7 +37,7 @@ import Data.Typeable (Proxy (..))
3737#endif
3838
3939-- | Like 'PatchMapWithMove', but for 'DMap'.
40−data PatchDMapWithMove k v = PatchDMapWithMove (DMap k (NodeInfo k v))
40+newtype PatchDMapWithMove k v = PatchDMapWithMove (DMap k (NodeInfo k v))
4141#ifdef EXPERIMENTAL_DEPENDENT_SUM_INSTANCES
4242 deriving (Show)
4343#endif
src/Reflex/Patch/MapWithMove.hs+1−1
@@ -25,7 +25,7 @@ import Data.Tuple
2525-- * The same source key may not be moved to two destination keys.
2626-- * Any key that is the source of a Move must also be edited
2727-- (otherwise, the Move would duplicate it)
28−data PatchMapWithMove k v = PatchMapWithMove (Map k (NodeInfo k v)) deriving (Show, Eq, Ord, Functor, Foldable, Traversable)
28+newtype PatchMapWithMove k v = PatchMapWithMove (Map k (NodeInfo k v)) deriving (Show, Eq, Ord, Functor, Foldable, Traversable)
2929
3030data NodeInfo k v = NodeInfo
3131 { _nodeInfo_from :: !(From k v)