diff options
Diffstat (limited to 'src/Data/Wrapper')
-rw-r--r-- | src/Data/Wrapper/PSQ.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data/Wrapper/PSQ.hs b/src/Data/Wrapper/PSQ.hs index 87648e84..58a6f624 100644 --- a/src/Data/Wrapper/PSQ.hs +++ b/src/Data/Wrapper/PSQ.hs | |||
@@ -62,7 +62,7 @@ insertWith :: (PSQKey k, Ord p) => (p -> p -> p) -> k -> p -> PSQ k p -> PSQ k p | |||
62 | insertWith f k p0 q = snd $ Q.alter f' k q | 62 | insertWith f k p0 q = snd $ Q.alter f' k q |
63 | where | 63 | where |
64 | f' (Just (p,())) = ((),Just (f p0 p, ())) | 64 | f' (Just (p,())) = ((),Just (f p0 p, ())) |
65 | f' Nothing = ((),Nothing) | 65 | f' Nothing = ((),Just (p0,())) |
66 | {-# INLINE insertWith #-} | 66 | {-# INLINE insertWith #-} |
67 | 67 | ||
68 | singleton :: (PSQKey k, Ord p) => k -> p -> PSQ k p | 68 | singleton :: (PSQKey k, Ord p) => k -> p -> PSQ k p |