Skip to content

Commit

Permalink
Fix updated index
Browse files Browse the repository at this point in the history
  • Loading branch information
jasagredo committed Oct 8, 2024
1 parent 278cfc5 commit c3bf504
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ toAntiDiff :: Diff k v -> Anti.Diff k v
toAntiDiff (Diff d) = Anti.Diff (Map.map f d)
where
f (Insert v) = Anti.singletonInsert v
f Delete = Anti.singletonDelete undefined
f Delete = Anti.singletonDelete

{-------------------------------------------------------------------------------
Traversals and folds
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
Expand Down

0 comments on commit c3bf504

Please sign in to comment.