on develop help sign in
fix docs: dmap to map
d77b245Jacquin Mininger
src/Data/Patch/MapWithMove.hs+1−1
@@ -25,7 +25,7 @@ import qualified Data.Set as Set
25import Data.These (These(..))
25import Data.These (These(..))
26import Data.Tuple
26import Data.Tuple
27
27
28−-- | Patch a DMap with additions, deletions, and moves. Invariant: If key @k1@
28+-- | Patch a Map with additions, deletions, and moves. Invariant: If key @k1@
29-- is coming from @From_Move k2@, then key @k2@ should be going to @Just k1@,
29-- is coming from @From_Move k2@, then key @k2@ should be going to @Just k1@,
30-- and vice versa. There should never be any unpaired From/To keys.
30-- and vice versa. There should never be any unpaired From/To keys.
31newtype PatchMapWithMove k v = PatchMapWithMove (Map k (NodeInfo k v)) deriving (Show, Eq, Ord, Functor, Foldable, Traversable)
31newtype PatchMapWithMove k v = PatchMapWithMove (Map k (NodeInfo k v)) deriving (Show, Eq, Ord, Functor, Foldable, Traversable)